From 1c8966f7e2a4b1a01bb663271ae3339cc3e24d9e Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 1 Jul 2011 11:41:35 +0000 Subject: Removed the viewer. It is no longer needed. --- client/client.pro | 2 -- client/mainwindow.cc | 3 --- client/pracro.cc | 2 -- 3 files changed, 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 -- cgit v1.2.3