diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index e28ee8fd9..f60882249 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -82,8 +82,8 @@ MainWindow::MainWindow(QMap *joysticks, CommandLi AntiMicroSettings *settings, bool graphical, QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) - , trayIconMenu(nullptr) , trayIcon(nullptr) + , trayIconMenu(nullptr) { ui->setupUi(this); diff --git a/src/sdleventreader.cpp b/src/sdleventreader.cpp index 12a70d7ee..852a11905 100644 --- a/src/sdleventreader.cpp +++ b/src/sdleventreader.cpp @@ -172,7 +172,7 @@ int SDLEventReader::eventStatus() switch (SDL_PeepEvents(nullptr, 1, SDL_GETEVENT, SDL_FIRSTEVENT, SDL_LASTEVENT)) { case -1: { - qCritical() << QString("SDL Error: %1").arg(QString(SDL_GetError())), true, true; + qCritical() << QString("SDL Error: %1").arg(QString(SDL_GetError())); result = 0; break;