[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/lib/kofficecore
From: Fredrik Edemar <f_edemar () linux ! se>
Date: 2006-03-21 14:29:48
Message-ID: 1142951388.343699.32682.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 521019 by fedemar:
After cancelling the downloading of a remote file the new doc should be deleted
M +3 -0 KoMainWindow.cpp
--- trunk/koffice/lib/kofficecore/KoMainWindow.cpp #521018:521019
@@ -643,6 +643,9 @@
disconnect(newdoc, SIGNAL(sigProgress(int)), this, SLOT(slotProgress(int)));
disconnect(newdoc, SIGNAL(completed()), this, SLOT(slotLoadCompleted()));
disconnect(newdoc, SIGNAL(canceled( const QString & )), this, \
SLOT(slotLoadCanceled( const QString & ))); +
+ newdoc->removeShell(this);
+ delete newdoc;
}
void KoMainWindow::slotSaveCanceled( const QString &errMsg )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic