summaryrefslogtreecommitdiff
path: root/client/mainwindow.cc
diff options
context:
space:
mode:
authordeva <deva>2010-08-17 14:29:05 +0000
committerdeva <deva>2010-08-17 14:29:05 +0000
commitd2295ad23ed22af07addc93b71e36f7bb688d534 (patch)
tree4915612e87646091275e291bae291951744585fc /client/mainwindow.cc
parentb23c3c321b80449aa22e14d40115d1e4a764a1b3 (diff)
New format parser for metawidget et al. DBWidget is broken for the moment...
Diffstat (limited to 'client/mainwindow.cc')
-rw-r--r--client/mainwindow.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/mainwindow.cc b/client/mainwindow.cc
index e8a7f51..a908988 100644
--- a/client/mainwindow.cc
+++ b/client/mainwindow.cc
@@ -78,7 +78,9 @@ MainWindow::MainWindow(QString cpr, QString templ, QString host,
QStatusBar *status = statusBar();
status->addPermanentWidget(new QLabel("Pracro v."VERSION));
- status->addPermanentWidget(new Dbg());
+ if(dbg_enabled()) {
+ status->addPermanentWidget(new Dbg());
+ }
QToolBar *toolbar = addToolBar("controls");
toolbar->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);