diff options
author | Andrei Karas <akaras@inbox.ru> | 2010-02-27 01:55:08 +0200 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-02-26 17:00:11 -0700 |
commit | 01c3edf0d8692ecf6c45ae4e04abf2d0b1f41c6b (patch) | |
tree | f40d567ffb110f230504fabe82900d02a5ac16c3 | |
parent | 5580ebe8946534e71caf63f423824abbf43aa282 (diff) | |
download | mana-client-01c3edf0d8692ecf6c45ae4e04abf2d0b1f41c6b.tar.gz mana-client-01c3edf0d8692ecf6c45ae4e04abf2d0b1f41c6b.tar.bz2 mana-client-01c3edf0d8692ecf6c45ae4e04abf2d0b1f41c6b.tar.xz mana-client-01c3edf0d8692ecf6c45ae4e04abf2d0b1f41c6b.zip |
Fix configuration saving on exit.
Some settings are set after the old position.
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
-rw-r--r-- | src/client.cpp | 5 |
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; |