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/widgets/basiccontainer.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/widgets/basiccontainer.cpp')
-rw-r--r-- | src/gui/widgets/basiccontainer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/basiccontainer.cpp b/src/gui/widgets/basiccontainer.cpp index 26434d7e9..8a4d3162a 100644 --- a/src/gui/widgets/basiccontainer.cpp +++ b/src/gui/widgets/basiccontainer.cpp @@ -305,7 +305,7 @@ void BasicContainer::drawChildren(Graphics *const restrict graphics) restrict2 FOR_EACH (WidgetListConstIterator, iter, mWidgets) { Widget *restrict const widget = *iter; - if (widget->isVisibleLocal()) + if (widget->mVisible == Visible_true) { // If the widget has a frame, // draw it before drawing the widget @@ -346,7 +346,7 @@ void BasicContainer::safeDrawChildren(Graphics *const restrict graphics) FOR_EACH (WidgetListConstIterator, iter, mWidgets) { Widget *restrict const widget = *iter; - if (widget->isVisibleLocal()) + if (widget->mVisible == Visible_true) { // If the widget has a frame, // draw it before drawing the widget |