Skip to content

Commit e2b2756

Browse files
committed
Fix improper volume level display
1 parent 389bb20 commit e2b2756

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/MainWindow/MainWindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ MainWindow::updateProgressLabel(const u16 second, const QString& duration) {
11961196
void MainWindow::updateVolume(const u16 value) {
11971197
QString formattedVolume;
11981198
formattedVolume.reserve(3);
1199-
formattedVolume += value;
1199+
formattedVolume += QString::number(value);
12001200
formattedVolume += '%';
12011201

12021202
volumeLabel->setText(formattedVolume);

0 commit comments

Comments
 (0)