aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-07-10 23:54:34 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-07-10 23:54:34 +0800
commit1e0c10a001c61d27b210ae87652be849cbd5bcfe (patch)
tree30443e14f8ab21be4ec716192dbbdf123f88f0ab /qmidiplayer-desktop
parentcd8432e47e1e9b332f2d5682ce4c796a94a29de8 (diff)
downloadQMidiPlayer-1e0c10a001c61d27b210ae87652be849cbd5bcfe.tar.xz
Should no longer freeze at end of playback.
Diffstat (limited to 'qmidiplayer-desktop')
-rw-r--r--qmidiplayer-desktop/qmpmainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmidiplayer-desktop/qmpmainwindow.cpp b/qmidiplayer-desktop/qmpmainwindow.cpp
index cc8b80d..e037c45 100644
--- a/qmidiplayer-desktop/qmpmainwindow.cpp
+++ b/qmidiplayer-desktop/qmpmainwindow.cpp
@@ -244,7 +244,7 @@ void qmpMainWindow::updateWidgets()
}
}
while(!player->isFinished()&&player->getTCeptr()>player->getStamp(ui->hsTimer->value())
- &&ui->hsTimer->value()<=100&&!dragging)
+ &&ui->hsTimer->value()<100&&!dragging)
ui->hsTimer->setValue(ui->hsTimer->value()+1);
if(playing)
{