summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/widget.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h
index 3601570cb..2a8cae343 100644
--- a/src/gui/widgets/widget.h
+++ b/src/gui/widgets/widget.h
@@ -375,8 +375,10 @@ class Widget notfinal : public Widget2
* @see setVisible
*/
bool isVisible() const A_WARN_UNUSED
- { return mVisible == Visible_true &&
- (!mParent || mParent->isVisible()); }
+ {
+ return mVisible == Visible_true &&
+ (!mParent || mParent->isVisible());
+ }
/**
* Sets the base color of the widget.