From 89694323abffb1c73c85d49460991b3e6f20f098 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 May 2015 22:11:54 +0300 Subject: Move window variable from widget class to widget2 class. --- src/gui/widgets/window.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/window.h') diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h index 90d0ade38..83f88f726 100644 --- a/src/gui/widgets/window.h +++ b/src/gui/widgets/window.h @@ -286,7 +286,7 @@ class Window notfinal : public BasicContainer2, { mSaveVisible = save; } virtual void postInit() - { mInit = true; mWindow = this; } + { mInit = true; } /** * Returns the parent window. -- cgit v1.2.3-60-g2f50