[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [Amarok] 7ff23f8: Don't double-delete Plasma::Iconwidget on exit.
From: Mark Kretschmann <kretschmann () kde ! org>
Date: 2010-03-17 12:00:02
Message-ID: 201003171200.o2HC029i006550 () kore ! kollide ! net
[Download RAW message or body]
commit 7ff23f899ad58813abc615352cea0913ac6bd5cf
Author: Mark Kretschmann <kretschmann@kde.org>
Date: Wed Mar 17 12:13:22 2010 +0100
Don't double-delete Plasma::Iconwidget on exit.
As the widget subclasses QObject, and we give it a parent, Qt should
handle the destruction by itself, when the applet is being destroyed.
diff --git a/src/context/applets/coverbling/CoverBlingApplet.cpp \
b/src/context/applets/coverbling/CoverBlingApplet.cpp index 729261d..073e30d 100644
--- a/src/context/applets/coverbling/CoverBlingApplet.cpp
+++ b/src/context/applets/coverbling/CoverBlingApplet.cpp
@@ -149,12 +149,6 @@ CoverBlingApplet::init()
CoverBlingApplet::~CoverBlingApplet()
{
- delete m_blingtofirst;
- delete m_blingtolast;
- delete m_blingfastback;
- delete m_blingfastforward;
- delete m_fullscreen;
- delete m_jumptoplaying;
delete m_ratingWidget;
delete m_label;
delete m_layout;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic