From a84ae874f0334172900d611fc098de8433f54e4c Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Thu, 12 May 2016 23:33:51 +0800 Subject: 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. --- qmidiplayer-desktop/qmpmainwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qmidiplayer-desktop/qmpmainwindow.cpp') 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]; -- cgit v1.2.3