From: Flavio Date: Sun, 15 May 2011 20:38:40 +0000 (+0200) Subject: Oops, fixed volume level in status bar X-Git-Tag: 1.4.3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fdf31e158afc1af605dfa27be404d57683d5be2b;p=minitube Oops, fixed volume level in status bar --- diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 307bf7f..a8c1461 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -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) {