From be7d563ba1e0b20cfe397f2cf4da6f7e3df78d22 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 Oct 2012 14:37:36 +0300 Subject: Simplify reading values from config. --- src/gui/ministatuswindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/ministatuswindow.cpp') 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); -- cgit v1.2.3-70-g09d2