diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-13 21:33:06 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-13 21:35:19 +0200 |
commit | 28bc8c0edb549cdbbe0832c4202630a039f738b1 (patch) | |
tree | 9989f31a5121f82af5aa264ebfe7096c5ea5030f /src/gui/chat.cpp | |
parent | 627e1bc7eee5b821d29b2161dec4991cae7bf9c0 (diff) | |
download | mana-client-28bc8c0edb549cdbbe0832c4202630a039f738b1.tar.gz mana-client-28bc8c0edb549cdbbe0832c4202630a039f738b1.tar.bz2 mana-client-28bc8c0edb549cdbbe0832c4202630a039f738b1.tar.xz mana-client-28bc8c0edb549cdbbe0832c4202630a039f738b1.zip |
Some cleanup of the Configuration interface
Mainly avoid all the convertions from integer to float and then to
string and also back from string to float and then to integer.
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r-- | src/gui/chat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 7f08ec48..48acefee 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -107,7 +107,7 @@ ChatWindow::ChatWindow(): ChatWindow::~ChatWindow() { - config.setValue("ReturnToggles", mReturnToggles ? "1" : "0"); + config.setValue("ReturnToggles", mReturnToggles); delete mRecorder; delete_all(mWhispers); delete mItemLinkHandler; |