From: Flavio Date: Thu, 13 Nov 2014 12:24:40 +0000 (+0100) Subject: Enabled autoupdated on Linux X-Git-Tag: 2.3.1~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b04931ce40de9b0ea7b51b7fdfe55f3e092f35a8;p=minitube Enabled autoupdated on Linux --- 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