diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-04-27 07:36:08 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-04-27 07:36:21 (GMT) |
commit | 3cb4abb7840b473899b6f872da1b0be87036554b (patch) | |
tree | 9ba72f5cb711bf5919d2821defae0af9f162cc24 /Swift | |
parent | ca611651e799c8066902554171c0113af122d48f (diff) | |
download | swift-3cb4abb7840b473899b6f872da1b0be87036554b.zip swift-3cb4abb7840b473899b6f872da1b0be87036554b.tar.bz2 |
Avoid crash on exit
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/QtSwift.cpp | 2 |
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_; |