summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2014-09-23 17:41:04 +0200
committerJonas Suhr Christensen <jsc@umbraculum.org>2014-09-23 17:41:04 +0200
commit8a25d02638a3fc52fa3d0521d33f5c0bd0dcd368 (patch)
tree1e34a22655e3a81dc932baeb07b39135d38895c1
parent4d14d8fa699161143ba13adf478a8ee1d6716d50 (diff)
Testing config file creation on windows XP.
-rw-r--r--plugingui/plugingui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/plugingui.cc b/plugingui/plugingui.cc
index 7dd2ba6..2dd93f9 100644
--- a/plugingui/plugingui.cc
+++ b/plugingui/plugingui.cc
@@ -281,11 +281,11 @@ void PluginGUI::thread_main()
void PluginGUI::deinit()
{
- if(window) delete window;
if(config) {
config->save();
delete config;
}
+ if(window) delete window;
}
void closeEventHandler(void *ptr)