diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-04 19:23:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-04 19:23:03 +0300 |
commit | 9706e377c799d4b2c0a9f88c8ba6768bf2ea858c (patch) | |
tree | 37bc6dc1cfdac6d392409bc520ac6288a7810989 /src/gui/windows/ministatuswindow.cpp | |
parent | 367c92d1ac584eb7ad5812f717aea27456f44e5f (diff) | |
download | manaplus-9706e377c799d4b2c0a9f88c8ba6768bf2ea858c.tar.gz manaplus-9706e377c799d4b2c0a9f88c8ba6768bf2ea858c.tar.bz2 manaplus-9706e377c799d4b2c0a9f88c8ba6768bf2ea858c.tar.xz manaplus-9706e377c799d4b2c0a9f88c8ba6768bf2ea858c.zip |
Remove isVisible getter from widget.
Diffstat (limited to 'src/gui/windows/ministatuswindow.cpp')
-rw-r--r-- | src/gui/windows/ministatuswindow.cpp | 6 |
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()); |