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

List:       kde-commits
Subject:    koffice/libs/kofficecore
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2007-04-28 14:05:33
Message-ID: 1177769133.766439.18334.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 658779 by sebsauer:

don't crash.



 M  +1 -2      KoMainWindow.cpp  


--- trunk/koffice/libs/kofficecore/KoMainWindow.cpp #658778:658779
@@ -641,8 +641,7 @@
     bool openRet = (!isImporting ()) ? newdoc->openURL(url) : newdoc->import(url);
     if(!openRet)
     {
-        newdoc->removeShell(this);
-        delete newdoc;
+        //newdoc->removeShell(this); delete newdoc; // already done by slotLoadCanceled()
         return false;
     }
     updateReloadFileAction(newdoc);
[prev in list] [next in list] [prev in thread] [next in thread] 

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