summaryrefslogtreecommitdiff
path: root/client/mainwindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/mainwindow.cc')
-rw-r--r--client/mainwindow.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/client/mainwindow.cc b/client/mainwindow.cc
index b9aab28..dfe112f 100644
--- a/client/mainwindow.cc
+++ b/client/mainwindow.cc
@@ -51,8 +51,6 @@
#include "debug.h"
-extern QWidget *viewer;
-
class Dbg : public QLabel {
public:
Dbg() {
@@ -223,7 +221,6 @@ void MainWindow::closeEvent(QCloseEvent *event)
settings.endGroup();
event->accept();
- if(viewer) viewer->close();
dbg_free();
} else {
event->ignore();