diff options
Diffstat (limited to 'client/mainwindow.cc')
-rw-r--r-- | client/mainwindow.cc | 4 |
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); |