[Knode-devel] kdepim/knode
Richard Lärkäng
richard at goteborg.utfors.se
Mon Nov 24 19:04:48 CET 2003
CVS commit by larkang:
Run prepareShutdown also when closing if run from Kontact.
Needed because otherwise it won't cleanup and save the state
of the messages (read/unread etc)
Approved by Roberto Selbach Teixeira
CCMAIL: 67626-done at bugs.kde.org
M +1 -1 knmainwidget.h 1.8
M +1 -0 knode_part.cpp 1.7
--- kdepim/knode/knmainwidget.h #1.7:1.8
@@ -66,4 +66,5 @@ public:
/** exit */
bool queryClose();
+ void prepareShutdown();
//GUI
@@ -162,5 +163,4 @@ protected:
bool requestShutdown();
- void prepareShutdown();
virtual void showEvent(QShowEvent *);
--- kdepim/knode/knode_part.cpp #1.6:1.7
@@ -80,4 +80,5 @@ KNodePart::KNodePart(QWidget *parentWidg
KNodePart::~KNodePart()
{
+ mainWidget->prepareShutdown();
}
More information about the Knode-devel
mailing list