From fdf31e158afc1af605dfa27be404d57683d5be2b Mon Sep 17 00:00:00 2001 From: Flavio Date: Sun, 15 May 2011 22:38:40 +0200 Subject: [PATCH] Oops, fixed volume level in status bar --- src/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5