summaryrefslogtreecommitdiff
path: root/client/mainwindow.cc
diff options
context:
space:
mode:
authordeva <deva>2010-08-12 10:57:04 +0000
committerdeva <deva>2010-08-12 10:57:04 +0000
commitd9338083192084613e5530b02710b796252d342b (patch)
treee0ec2b36e0de62328e5fd5d3b597f6ee71d1b18f /client/mainwindow.cc
parentdbab8458dcce186e7eb7a114a83f759d7db5445a (diff)
New scripting system part2.
Diffstat (limited to 'client/mainwindow.cc')
-rw-r--r--client/mainwindow.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/mainwindow.cc b/client/mainwindow.cc
index 40daad8..d88ae5e 100644
--- a/client/mainwindow.cc
+++ b/client/mainwindow.cc
@@ -40,8 +40,11 @@
#include <QMessageBox>
#include <QToolBar>
#include <QAction>
+#include <QEvent>
+#include <QCloseEvent>
#include "macrodrawer.h"
+#include "macrowindow.h"
MainWindow::MainWindow(QString cpr, QString templ, QString host,
quint16 port, QString user)
@@ -56,6 +59,7 @@ MainWindow::MainWindow(QString cpr, QString templ, QString host,
this->user = user;
setWindowTitle("Pracro - " + cpr);
+ setWindowIcon(QIcon(":/icons/icon.png"));
QStatusBar *status = statusBar();
status->addPermanentWidget(new QLabel("Pracro v."VERSION));