From 1e0c10a001c61d27b210ae87652be849cbd5bcfe Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Wed, 10 Jul 2019 23:54:34 +0800 Subject: Should no longer freeze at end of playback. --- qmidiplayer-desktop/qmpmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3