]> git.sur5r.net Git - minitube/commitdiff
Enabled autoupdated on Linux
authorFlavio <flavio.tordini@gmail.com>
Thu, 13 Nov 2014 12:24:40 +0000 (13:24 +0100)
committerFlavio <flavio.tordini@gmail.com>
Thu, 13 Nov 2014 12:24:40 +0000 (13:24 +0100)
src/mainwindow.cpp

index b03d59a8e5ced29be72f7a5bfca84fd7310a04b6..6786697a79a2c34130102a29a903d5a9811d3cff 100644 (file)
@@ -1322,7 +1322,7 @@ void MainWindow::initPhonon() {
     volumeSlider->setAudioOutput(audioOutput);
     Phonon::createPath(mediaObject, audioOutput);
     QSettings settings;
-    audioOutput->setVolume(settings.value("volume", 1).toDouble());
+    audioOutput->setVolume(settings.value("volume", 1).toReal());
     // audioOutput->setMuted(settings.value("volumeMute").toBool());
 }
 #endif
@@ -1593,7 +1593,7 @@ void MainWindow::gotNewVersion(QString version) {
 
 #ifdef APP_SIMPLEUPDATE
     simpleUpdateDialog(version);
-#elif defined(APP_ACTIVATION) && !defined(APP_MAC)
+#elif !defined(APP_MAC)
     UpdateDialog *dialog = new UpdateDialog(version, this);
     dialog->show();
 #endif