aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmpmainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-12 23:33:51 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-12 23:33:51 +0800
commita84ae874f0334172900d611fc098de8433f54e4c (patch)
tree4f2b185dfa734ad5cf2ede916a07573efe8a310a /qmidiplayer-desktop/qmpmainwindow.cpp
parent59304aa1b2c6d278e76f72509183fee96bbb8cae (diff)
downloadQMidiPlayer-a84ae874f0334172900d611fc098de8433f54e4c.tar.xz
Now channel labels are displayed correctly.
Add an option to change the tint of the chequer board. Show unsigned integer options in hexadecimal format. Fixed a crash caused by attemting seeking when no file is being played.
Diffstat (limited to 'qmidiplayer-desktop/qmpmainwindow.cpp')
-rw-r--r--qmidiplayer-desktop/qmpmainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmpmainwindow.cpp b/qmidiplayer-desktop/qmpmainwindow.cpp
index c377010..762da0f 100644
--- a/qmidiplayer-desktop/qmpmainwindow.cpp
+++ b/qmidiplayer-desktop/qmpmainwindow.cpp
@@ -409,6 +409,7 @@ void qmpMainWindow::on_hsTimer_sliderReleased()
}
else
{
+ if(stopped){ui->hsTimer->setValue(0);}return;
player->setTCeptr(player->getStamp(ui->hsTimer->value()),ui->hsTimer->value());
offset=ui->hsTimer->value()/100.*player->getFtime();
char ts[100];