summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-03 06:04:55 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-03 06:04:55 +0300
commit8926a2ff8f3eb6eb1666a0b4ea7c2eafac727a7b (patch)
treed5da4347cbf0fcf0643e4cfeb2b8273340384c97 /src/gui/widgets
parent3be63c5b6cc2d397b36e4463c4d8df0b15016d81 (diff)
downloadplus-8926a2ff8f3eb6eb1666a0b4ea7c2eafac727a7b.tar.gz
plus-8926a2ff8f3eb6eb1666a0b4ea7c2eafac727a7b.tar.bz2
plus-8926a2ff8f3eb6eb1666a0b4ea7c2eafac727a7b.tar.xz
plus-8926a2ff8f3eb6eb1666a0b4ea7c2eafac727a7b.zip
Fix style in some functions.
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.