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/popups/popupmenu.cpp | |
parent | 367c92d1ac584eb7ad5812f717aea27456f44e5f (diff) | |
download | plus-9706e377c799d4b2c0a9f88c8ba6768bf2ea858c.tar.gz plus-9706e377c799d4b2c0a9f88c8ba6768bf2ea858c.tar.bz2 plus-9706e377c799d4b2c0a9f88c8ba6768bf2ea858c.tar.xz plus-9706e377c799d4b2c0a9f88c8ba6768bf2ea858c.zip |
Remove isVisible getter from widget.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 98c8d26cd..264b2a6cb 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1953,7 +1953,7 @@ void PopupMenu::showPopup(const int x, const int y, Button *const button) if (!btn || btn->getActionEventId() == "SET") continue; - if (btn->isVisibleLocal()) + if (btn->mVisible == Visible_true) { mBrowserBox->addRow(strprintf("@@hide button_%s|%s %s (%s)@@", // TRANSLATORS: popup menu item @@ -1999,7 +1999,7 @@ void PopupMenu::showPopup(const int x, const int y, const ProgressBar *const b) if (!bar) continue; - if (bar->isVisibleLocal()) + if (bar->mVisible == Visible_true) { cnt ++; onlyBar = bar; @@ -2015,7 +2015,7 @@ void PopupMenu::showPopup(const int x, const int y, const ProgressBar *const b) if (!bar || bar == onlyBar) continue; - if (bar->isVisibleLocal()) + if (bar->mVisible == Visible_true) { mBrowserBox->addRow(strprintf("@@hide bar_%s|%s %s@@", // TRANSLATORS: popup menu item |