[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kdeui
From:       Pascal Létourneau <pletourn () globetrotter ! net>
Date:       2005-08-06 22:43:29
Message-ID: 1123368209.621435.26852.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 443675 by pletourn:

Add some qDeleteAll() forgotten in the porting 


 M  +5 -0      ktoolbar.cpp  


--- trunk/KDE/kdelibs/kdeui/ktoolbar.cpp #443674:443675
@@ -673,6 +673,7 @@
     foreach(QWidget *w, d->idleButtons) 
        w->blockSignals(false);
 
+    qDeleteAll( d->idleButtons );
     d->idleButtons.clear();
 
     Q3ToolBar::clear();
@@ -1218,6 +1219,8 @@
 {
     foreach(QWidget *w, d->idleButtons)
        w->blockSignals(false);
+
+    qDeleteAll( d->idleButtons );
     d->idleButtons.clear();
 
     emit modechange();
@@ -1227,6 +1230,8 @@
 {
     foreach(QWidget *w, d->idleButtons)
        w->blockSignals(false);
+
+    qDeleteAll( d->idleButtons );
     d->idleButtons.clear();
 
     layoutTimer->stop();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic