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 /src/client.cpp | |
parent | 5580ebe8946534e71caf63f423824abbf43aa282 (diff) | |
download | mana-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/client.cpp')
-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; |