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.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/window.cpp') diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index 53bf92cc0..657fbcd88 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -155,6 +155,8 @@ Window::Window(const std::string &caption, { logger->log("Window::Window(\"%s\")", caption.c_str()); + mWindow = this; + windowInstances++; // mFrameSize = 1; -- cgit v1.2.3-60-g2f50