]> git.sur5r.net Git - minitube/commitdiff
Oops, fixed volume level in status bar 1.4.3
authorFlavio <flavio@odisseo.local>
Sun, 15 May 2011 20:38:40 +0000 (22:38 +0200)
committerFlavio <flavio@odisseo.local>
Sun, 15 May 2011 20:38:40 +0000 (22:38 +0200)
src/MainWindow.cpp

index 307bf7fed7b60a57a8ff081363b5213457c7eb66..a8c14616d237366e42c5ccd1ffc42eb7afb381ee 100644 (file)
@@ -904,7 +904,7 @@ void MainWindow::volumeChanged(qreal newVolume) {
     // automatically unmute when volume changes
     if (volumeSlider->audioOutput()->isMuted())
         volumeSlider->audioOutput()->setMuted(false);
-    statusBar()->showMessage(tr("Volume at %1%").arg(((int)newVolume)*100));
+    statusBar()->showMessage(tr("Volume at %1%").arg((int)(newVolume*100)));
 }
 
 void MainWindow::volumeMutedChanged(bool muted) {