summaryrefslogtreecommitdiff
path: root/client/widgets/window.cc
diff options
context:
space:
mode:
authordeva <deva>2010-08-13 11:56:34 +0000
committerdeva <deva>2010-08-13 11:56:34 +0000
commitc58541468c5477323e35837a8f0aeaf41e5a0794 (patch)
tree4a215de3b61bf3a521edf2e6f67f00c3731b6dc7 /client/widgets/window.cc
parent51122d8689f6fbb1061ee0b19f885ad8851dfd50 (diff)
Fix one too many resets of the LUA stack.
Diffstat (limited to 'client/widgets/window.cc')
-rw-r--r--client/widgets/window.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/client/widgets/window.cc b/client/widgets/window.cc
index 4d9253d..b480189 100644
--- a/client/widgets/window.cc
+++ b/client/widgets/window.cc
@@ -30,9 +30,14 @@
#include <QWidget>
#include <QIcon>
+//#define DEBUG(fmt...) printf(fmt)
+#define DEBUG(ftm...)
+
Window::Window(QDomNode &node, MacroWindow *macrowindow)
: Widget(node, macrowindow)
{
+ DEBUG("window\n");
+
widget = new QWidget(NULL);
widget->setWindowFlags(Qt::WindowContextHelpButtonHint |
@@ -60,6 +65,7 @@ Window::Window(QDomNode &node, MacroWindow *macrowindow)
Window::~Window()
{
- printf("Delete (Window) %p\n", this); fflush(stdout);
- // delete widget;
+ DEBUG("~window\n");
+
+ //delete widget;
}