summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-06 00:39:58 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-06 23:06:15 +0300
commit6b291b6515825f4ce0e09df5dec7ea1b619b63a7 (patch)
treef26a35a21cde34f45538a191b2196bf7c81d2693 /src/gui/widgets/widget.h
parent833e498f54c1d33be94c09214315b368cccaec06 (diff)
downloadmanaplus-6b291b6515825f4ce0e09df5dec7ea1b619b63a7.tar.gz
manaplus-6b291b6515825f4ce0e09df5dec7ea1b619b63a7.tar.bz2
manaplus-6b291b6515825f4ce0e09df5dec7ea1b619b63a7.tar.xz
manaplus-6b291b6515825f4ce0e09df5dec7ea1b619b63a7.zip
improve a bit different code.
Diffstat (limited to 'src/gui/widgets/widget.h')
-rw-r--r--src/gui/widgets/widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h
index 34f3647d5..3af00d247 100644
--- a/src/gui/widgets/widget.h
+++ b/src/gui/widgets/widget.h
@@ -196,7 +196,7 @@ class Widget : public Widget2
* has no parent.
* @since 0.1.0
*/
- virtual Widget* getParent() const A_WARN_UNUSED
+ Widget* getParent() const A_WARN_UNUSED
{ return mParent; }
/**