From b04931ce40de9b0ea7b51b7fdfe55f3e092f35a8 Mon Sep 17 00:00:00 2001 From: Flavio Date: Thu, 13 Nov 2014 13:24:40 +0100 Subject: [PATCH] Enabled autoupdated on Linux --- src/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index b03d59a..6786697 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -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 -- 2.39.5