aboutsummaryrefslogtreecommitdiff
path: root/qmpchannelswindow.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-01-06 21:28:44 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-01-06 21:28:44 +0800
commit7fccb61519fe84b2ced274f1cc4859d5000e86c6 (patch)
treef66696e67d56e9e6015d613af84562364baaa9ed /qmpchannelswindow.cpp
parent8099672c3fd0bfc7804b0a92d05c57dcd4307268 (diff)
downloadQMidiPlayer-7fccb61519fe84b2ced274f1cc4859d5000e86c6.tar.xz
Maple Dream. (WTF)
Diffstat (limited to 'qmpchannelswindow.cpp')
-rw-r--r--qmpchannelswindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/qmpchannelswindow.cpp b/qmpchannelswindow.cpp
index 448e5b7..a9cf60e 100644
--- a/qmpchannelswindow.cpp
+++ b/qmpchannelswindow.cpp
@@ -67,6 +67,12 @@ void qmpChannelsWindow::moveEvent(QMoveEvent *event)
void qmpChannelsWindow::channelWindowsUpdate()
{
+ if(qmpMainWindow::getInstance()->getPlayer()->isFinished())
+ {
+ for(int i=0;i<16;++i)
+ ((QLabel*)ui->twChannels->cellWidget(i,3))->setText("");
+ return;
+ }
for(int i=0;i<16;++i)
{
char data[128],nm[24];