diff options
Diffstat (limited to 'client/widgets/window.cc')
-rw-r--r-- | client/widgets/window.cc | 10 |
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; } |