summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-21 21:22:17 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-21 21:22:17 +0300
commit773ef01f1490f0884836a9d08f75938eb8742c8e (patch)
treedc7ccb40d39cf7ad4b712a342407257671962205 /src/gui/widgets/widget.cpp
parentc66f0547024b54c1a944746e947328c4e7fa56ae (diff)
downloadmanaverse-773ef01f1490f0884836a9d08f75938eb8742c8e.tar.gz
manaverse-773ef01f1490f0884836a9d08f75938eb8742c8e.tar.bz2
manaverse-773ef01f1490f0884836a9d08f75938eb8742c8e.tar.xz
manaverse-773ef01f1490f0884836a9d08f75938eb8742c8e.zip
Add parent window field to all widgets.
Diffstat (limited to 'src/gui/widgets/widget.cpp')
-rw-r--r--src/gui/widgets/widget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/widget.cpp b/src/gui/widgets/widget.cpp
index 667f88655..70aac5aa2 100644
--- a/src/gui/widgets/widget.cpp
+++ b/src/gui/widgets/widget.cpp
@@ -96,6 +96,7 @@ Widget::Widget(const Widget2 *const widget) :
mFocusHandler(nullptr),
mInternalFocusHandler(nullptr),
mParent(nullptr),
+ mWindow(nullptr),
mCurrentFont(nullptr),
mFrameSize(0),
mFocusable(false),