summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2010-02-27 01:55:08 +0200
committerJared Adams <jaxad0127@gmail.com>2010-02-26 17:00:11 -0700
commit01c3edf0d8692ecf6c45ae4e04abf2d0b1f41c6b (patch)
treef40d567ffb110f230504fabe82900d02a5ac16c3 /src
parent5580ebe8946534e71caf63f423824abbf43aa282 (diff)
downloadmana-01c3edf0d8692ecf6c45ae4e04abf2d0b1f41c6b.tar.gz
mana-01c3edf0d8692ecf6c45ae4e04abf2d0b1f41c6b.tar.bz2
mana-01c3edf0d8692ecf6c45ae4e04abf2d0b1f41c6b.tar.xz
mana-01c3edf0d8692ecf6c45ae4e04abf2d0b1f41c6b.zip
Fix configuration saving on exit.
Some settings are set after the old position. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index cd40615b..b95076ff 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -400,8 +400,6 @@ Client::~Client()
delete itemShortcut;
delete emoteShortcut;
- config.write();
-
delete gui;
delete graphics;
@@ -425,6 +423,9 @@ Client::~Client()
logger->log("Quitting");
delete guiPalette;
+
+ config.write();
+
delete logger;
mInstance = 0;