summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-04-27 07:36:08 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-04-27 07:36:21 (GMT)
commit3cb4abb7840b473899b6f872da1b0be87036554b (patch)
tree9ba72f5cb711bf5919d2821defae0af9f162cc24
parentca611651e799c8066902554171c0113af122d48f (diff)
downloadswift-contrib-3cb4abb7840b473899b6f872da1b0be87036554b.zip
swift-contrib-3cb4abb7840b473899b6f872da1b0be87036554b.tar.bz2
Avoid crash on exit
-rw-r--r--Swift/QtUI/QtSwift.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtSwift.cpp b/Swift/QtUI/QtSwift.cpp
index 60f93cc..9602336 100644
--- a/Swift/QtUI/QtSwift.cpp
+++ b/Swift/QtUI/QtSwift.cpp
@@ -200,7 +200,6 @@ QtSwift::QtSwift(const po::variables_map& options) : networkFactories_(&clientMa
}
QtSwift::~QtSwift() {
- delete notifier_;
delete autoUpdater_;
foreach (QtUIFactory* factory, uiFactories_) {
delete factory;
@@ -208,6 +207,7 @@ QtSwift::~QtSwift() {
foreach (MainController* controller, mainControllers_) {
delete controller;
}
+ delete notifier_;
delete settingsHierachy_;
delete qtSettings_;
delete xmlSettings_;