summaryrefslogtreecommitdiff
path: root/src/gui/windows/ministatuswindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-04 19:23:03 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-04 19:23:03 +0300
commit9706e377c799d4b2c0a9f88c8ba6768bf2ea858c (patch)
tree37bc6dc1cfdac6d392409bc520ac6288a7810989 /src/gui/windows/ministatuswindow.cpp
parent367c92d1ac584eb7ad5812f717aea27456f44e5f (diff)
downloadmv-9706e377c799d4b2c0a9f88c8ba6768bf2ea858c.tar.gz
mv-9706e377c799d4b2c0a9f88c8ba6768bf2ea858c.tar.bz2
mv-9706e377c799d4b2c0a9f88c8ba6768bf2ea858c.tar.xz
mv-9706e377c799d4b2c0a9f88c8ba6768bf2ea858c.zip
Remove isVisible getter from widget.
Diffstat (limited to 'src/gui/windows/ministatuswindow.cpp')
-rw-r--r--src/gui/windows/ministatuswindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp
index 267401707..6dd427a98 100644
--- a/src/gui/windows/ministatuswindow.cpp
+++ b/src/gui/windows/ministatuswindow.cpp
@@ -168,7 +168,7 @@ MiniStatusWindow::~MiniStatusWindow()
ProgressBar *bar = *it;
if (!bar)
continue;
- if (!bar->isVisibleLocal())
+ if (bar->mVisible == Visible_false)
delete bar;
}
mBars.clear();
@@ -207,7 +207,7 @@ void MiniStatusWindow::updateBars()
ProgressBar *const bar = *it;
if (!bar)
continue;
- if (bar->isVisibleLocal())
+ if (bar->mVisible == Visible_true)
{
bar->setPosition(x, 0);
add(bar);
@@ -525,7 +525,7 @@ void MiniStatusWindow::saveBars() const
FOR_EACH (ProgressBarVectorCIter, it, mBars)
{
const ProgressBar *const bar = *it;
- if (!bar->isVisibleLocal())
+ if (bar->mVisible == Visible_false)
{
config.setValue("ministatus" + toString(i),
bar->getActionEventId());