diff --git a/debian/control b/debian/control index c8e49e2..c8a9450 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: tomamp Section: user/multimedia Priority: extra Maintainer: Tamas Marki <tmarki@gmail.com> -Build-Depends: debhelper (>= 5), libqt4-dev (>= 4.5.0) +Build-Depends: debhelper (>= 5), libqt4-dev (>= 4.6.0) | libqt4-phonon-dev (>> 4.5.0), libqt4-dev (>> 4.5.0) Standards-Version: 3.8.0 Homepage: http://tmarki.com/wp/tomamp XSBC-Bugtracker: mailto:tmarki@gmail.com diff --git a/tomamp/mainwindow.cpp b/tomamp/mainwindow.cpp index 349cce5..fb47038 100644 --- a/tomamp/mainwindow.cpp +++ b/tomamp/mainwindow.cpp @@ -44,7 +44,7 @@ MainWindow::MainWindow() int curind = settings.value("currentIndex", -1).toInt (); if (curind >= 0) setItem (curind, false); - audioOutput->setVolume(settings.value("volume", .5).toReal()); + audioOutput->setVolume(settings.value("volume", .5).toDouble()); QApplication::setWindowIcon(QIcon (QPixmap (":images/tomamp"))); }