summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2015-07-09 01:55:29 +0200
committerAnne Jan Brouwer <brouwer@annejan.com>2015-07-09 01:55:29 +0200
commit6b31ce4c13e9bd3e981df3ec998b5588d339f066 (patch)
tree8d63867e0bda4228fb263b34fe25eac45c0d3c69
parent268ec9d3d93f5b5d4591c47f882e285e7eaec4de (diff)
parentbcf07af684d7de53654033101e62bd8f5bef143d (diff)
Merge pull request #67 from linuxqc/master
To make building successfull wi Desktop Qt 5.4.0 MSVC2012 OpenGL 32bit
-rw-r--r--mainwindow.cpp2
-rw-r--r--mainwindow.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp
index be1bef3c..9c4cbf98 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -28,6 +28,8 @@ MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow),
process(new QProcess(this)),
+ keygen(NULL),
+ tray(NULL),
fusedav(this)
{
// connect(process.data(), SIGNAL(readyReadStandardOutput()), this, SLOT(readyRead()));
diff --git a/mainwindow.h b/mainwindow.h
index 4df8cbc4..b3ff1f0c 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -104,12 +104,12 @@ private:
QStringList env;
QQueue<execQueueItem> *execQueue;
bool firstRun;
- QDialog *keygen = NULL;
+ QDialog *keygen;
QString currentDir;
QHash<QString, QString> profiles;
QString profile;
bool startupPhase;
- trayIcon *tray = NULL;
+ trayIcon *tray;
bool useTrayIcon;
bool hideOnClose;
void updateText();