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

List:       kde-commits
Subject:    KDE_3_1_BRANCH: kdemultimedia/kaboodle
From:       Ewald Snel <ewald () rambo ! its ! tudelft ! nl>
Date:       2003-08-16 14:51:40
[Download RAW message or body]

CVS commit by snel: 

Fix runtime segmentation fault when using gcc 3.3 (destructor called twice)
(this is a backport of the HEAD branch patch by Carsten Pfeiffer)


  M +2 -1      kaboodleapp.cpp   1.4.2.2


--- kdemultimedia/kaboodle/kaboodleapp.cpp  #1.4.2.1:1.4.2.2
@@ -46,5 +46,6 @@ Kaboodle::KaboodleApp::KaboodleApp()
 Kaboodle::KaboodleApp::~KaboodleApp()
 {
-    delete ui;
+        // do not delete ui here, it might be the one closing us via closeEvent
+        // ui is deleted automatically anyway.
 }
 


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

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