summaryrefslogtreecommitdiff
path: root/client/mainwindow.cc
diff options
context:
space:
mode:
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));