From 52cc52d26eef33ad2e3a146923b3bfb6ba82edd8 Mon Sep 17 00:00:00 2001 From: Flavio Date: Thu, 13 Nov 2014 16:27:31 +0100 Subject: [PATCH] Fix autoupdate on Linux --- src/mainwindow.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 6786697..2795997 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1591,12 +1591,14 @@ void MainWindow::gotNewVersion(QString version) { QString checkedVersion = settings.value("checkedVersion").toString(); if (checkedVersion == version) return; -#ifdef APP_SIMPLEUPDATE - simpleUpdateDialog(version); -#elif !defined(APP_MAC) +#ifdef APP_EXTRA +#ifndef APP_MAC UpdateDialog *dialog = new UpdateDialog(version, this); dialog->show(); #endif +#else + simpleUpdateDialog(version); +#endif } void MainWindow::simpleUpdateDialog(QString version) { -- 2.39.5