summaryrefslogtreecommitdiff
path: root/src/gui/ministatuswindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-18 14:37:36 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-18 14:49:53 +0300
commitbe7d563ba1e0b20cfe397f2cf4da6f7e3df78d22 (patch)
treef26591cf82914d30853a1a0d556742c5ec801de8 /src/gui/ministatuswindow.cpp
parent9f89a15fbcaf3f24f4c941b7061979e424d6384a (diff)
downloadmv-be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22.tar.gz
mv-be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22.tar.bz2
mv-be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22.tar.xz
mv-be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22.zip
Simplify reading values from config.
Diffstat (limited to 'src/gui/ministatuswindow.cpp')
-rw-r--r--src/gui/ministatuswindow.cpp2
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);