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

List:       kde-commits
Subject:    KDE/kdebase/kate/app
From:       Dominik Haumann <dhdev () gmx ! de>
Date:       2007-02-02 9:12:06
Message-ID: 1170407526.021669.11583.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 629290 by dhaumann:

fix crash: mainWindow removes itself from the kateApp in its destructor

#7  0xb716960d in qFatal (msg=0xb724cff0 "ASSERT: \"%s\" in file %s, line %d") at \
global/qglobal.cpp:2227 #8  0xb7169767 in qt_assert (assertion=0xb7dc3a23 \
"!isEmpty()", file=0xb7dc3900 \
"qt-copy/include/QtCore/../../src/corelib/tools/qlist.h", line=232) at \
global/qglobal.cpp:1771 #9  0xb7d8367f in QList<Kate::MainWindow*>::removeFirst \
(this=0xbf97f72c) at qt-copy/include/QtCore/../../src/corelib/tools/qlist.h:232 #10 \
0xb7d836c7 in QList<Kate::MainWindow*>::pop_front (this=0xbf97f72c) at \
qt-copy/include/QtCore/../../src/corelib/tools/qlist.h:246 #11 0xb7d8106d in \
KateApp::shutdownKate (this=0xbf97f6fc, win=0x83375d0) at \
trunk/base/kate/app/kateapp.cpp:297 #12 0xb7d93b12 in KateMainWindow::slotFileQuit \
(this=0x83375d0) at trunk/base/kate/app/katemainwindow.cpp:473


 M  +1 -1      kateapp.cpp  


--- trunk/KDE/kdebase/kate/app/kateapp.cpp #629289:629290
@@ -293,8 +293,8 @@
   // cu main windows
   while (!m_mainWindows.isEmpty())
   {
+    // mainwindow itself calls KateApp::removeMainWindow(this)
     delete m_mainWindows[0];
-    m_mainWindowsInterfaces.pop_front();
   }
 
   quit ();


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

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