From: Flavio Date: Thu, 13 Nov 2014 15:27:31 +0000 (+0100) Subject: Fix autoupdate on Linux X-Git-Tag: 2.3.1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=52cc52d26eef33ad2e3a146923b3bfb6ba82edd8;p=minitube Fix autoupdate on Linux --- 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) {