summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2011-07-01 11:41:35 +0000
committerdeva <deva>2011-07-01 11:41:35 +0000
commit1c8966f7e2a4b1a01bb663271ae3339cc3e24d9e (patch)
treec9f392d3bf5527b9f88807c2c38bc930125d81b7
parent5eb7e97b9d529c93ebbddcc52c4a8f96e95928ba (diff)
Removed the viewer. It is no longer needed.
-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