summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/client.pro2
-rw-r--r--client/mainwindow.cc3
-rw-r--r--client/pracro.cc2
3 files changed, 0 insertions, 7 deletions
diff --git a/client/client.pro b/client/client.pro
index 1481204..852a212 100644
--- a/client/client.pro
+++ b/client/client.pro
@@ -62,7 +62,6 @@ HEADERS += \
messagebox.h \
netcom.h \
resumewidget.h \
- viewer.h \
widgets.h \
widgets/common.h \
widgets/widget.h \
@@ -101,7 +100,6 @@ SOURCES += \
messagebox.cc \
netcom.cc \
resumewidget.cc \
- viewer.cc \
widgets/common.cc \
widgets/widget.cc \
widgets/label.cc \
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();
diff --git a/client/pracro.cc b/client/pracro.cc
index b4d06d8..0f37f1d 100644
--- a/client/pracro.cc
+++ b/client/pracro.cc
@@ -38,7 +38,6 @@
#include "netcom.h"
#include "mainwindow.h"
#include "launcherwindow.h"
-#include "viewer.h"
#include "debug.h"
@@ -54,7 +53,6 @@ QString config = CONFIG_DEFAULT;
QString host;
quint16 port;
-QWidget *viewer = NULL;
QFont *fixedfont = NULL;
#ifndef TESTING