diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-18 14:37:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-18 14:49:53 +0300 |
commit | be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22 (patch) | |
tree | f26591cf82914d30853a1a0d556742c5ec801de8 /src/gui/ministatuswindow.cpp | |
parent | 9f89a15fbcaf3f24f4c941b7061979e424d6384a (diff) | |
download | manaverse-be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22.tar.gz manaverse-be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22.tar.bz2 manaverse-be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22.tar.xz manaverse-be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22.zip |
Simplify reading values from config.
Diffstat (limited to 'src/gui/ministatuswindow.cpp')
-rw-r--r-- | src/gui/ministatuswindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/ministatuswindow.cpp b/src/gui/ministatuswindow.cpp index 5aa22800b..6309f10c1 100644 --- a/src/gui/ministatuswindow.cpp +++ b/src/gui/ministatuswindow.cpp @@ -421,7 +421,7 @@ void MiniStatusWindow::showBar(const std::string &name, const bool visible) void MiniStatusWindow::loadBars() { - if (!config.getValue("ministatussaved", 0)) + if (!config.getIntValue("ministatussaved")) { if (mWeightBar) mWeightBar->setVisible(false); |