From kde-commits Sat Jan 26 16:47:42 2008 From: Andras Mantia Date: Sat, 26 Jan 2008 16:47:42 +0000 To: kde-commits Subject: branches/KDE/3.5/kdewebdev/quanta Message-Id: <1201366062.219967.21113.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=120136607231561 SVN commit 766787 by amantia: Fix crash when closing a plugin and no other document is opened. BUG: 156728 M +2 -1 ChangeLog M +7 -7 quanta.kdevelop M +1 -1 src/viewmanager.cpp --- branches/KDE/3.5/kdewebdev/quanta/ChangeLog #766786:766787 @@ -1,9 +1,10 @@ This files contains the changes since Quanta 2.0 until the current 3.5.x series. -Version 3.5.8+: +Version 3.5.9: - bugfixes: - fix crashes when using XDebug - do not keep an empty, Untitled document opened when opening new files [#151682] + - fix crash when closing a plugin and no other document is opened [#156728] Version 3.5.8 (Release date: 07-10-2006) - bugfixes: --- branches/KDE/3.5/kdewebdev/quanta/quanta.kdevelop #766786:766787 @@ -18,7 +18,7 @@ false - + quanta @@ -184,7 +184,7 @@ false - + true @@ -207,16 +207,16 @@ - + /usr/bin/gdb true false false true - - - + + + false @@ -301,7 +301,7 @@ - + set m_,_ theValue --- branches/KDE/3.5/kdewebdev/quanta/src/viewmanager.cpp #766786:766787 @@ -163,7 +163,7 @@ break; } delete it; - if (noOfViews == 1 && view->document()->isUntitled() && !view->document()->isModified() && createNew) + if (noOfViews == 1 && view->document() && view->document()->isUntitled() && !view->document()->isModified() && createNew) { quantaApp->slotShowPreviewWidget(false); return true;