]> git.sur5r.net Git - minitube/commitdiff
Fix autoupdate on Linux 2.3.1
authorFlavio <flavio.tordini@gmail.com>
Thu, 13 Nov 2014 15:27:31 +0000 (16:27 +0100)
committerFlavio <flavio.tordini@gmail.com>
Thu, 13 Nov 2014 15:27:31 +0000 (16:27 +0100)
src/mainwindow.cpp

index 6786697a79a2c34130102a29a903d5a9811d3cff..27959971075e608e00f190ac0251165fcc37d8d9 100644 (file)
@@ -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) {