summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnne Jan Brouwer <annejan@noprotocol.com>2015-07-09 02:11:58 +0200
committerAnne Jan Brouwer <annejan@noprotocol.com>2015-07-09 02:11:58 +0200
commit8da878cd71dcdd58988be80b4ade23fdea0445e0 (patch)
treead947bc0030cb3a786d0b425233682ce59c5b7c4
parent24177255976e8822bac690a61744d2b6b7de10b6 (diff)
Removed C++11 dependency completely|
-rw-r--r--dialog.cpp2
-rw-r--r--mainwindow.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/dialog.cpp b/dialog.cpp
index 9af80522..11ac6287 100644
--- a/dialog.cpp
+++ b/dialog.cpp
@@ -454,7 +454,7 @@ void Dialog::on_deleteButton_clicked()
void Dialog::criticalMessage(const QString &title, const QString &text)
{
- QMessageBox::critical(this, title, text, QMessageBox::StandardButton::Ok, QMessageBox::StandardButton::Ok);
+ QMessageBox::critical(this, title, text, QMessageBox::Ok, QMessageBox::Ok);
}
/**
diff --git a/mainwindow.cpp b/mainwindow.cpp
index b7edf067..970cd653 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -28,9 +28,9 @@ MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow),
process(new QProcess(this)),
+ fusedav(this),
keygen(NULL),
- tray(NULL),
- fusedav(this)
+ tray(NULL)
{
// connect(process.data(), SIGNAL(readyReadStandardOutput()), this, SLOT(readyRead()));
connect(process.data(), SIGNAL(error(QProcess::ProcessError)), this, SLOT(processError(QProcess::ProcessError)));