diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-01-06 21:28:44 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-01-06 21:28:44 +0800 |
commit | 7fccb61519fe84b2ced274f1cc4859d5000e86c6 (patch) | |
tree | f66696e67d56e9e6015d613af84562364baaa9ed /qmpchannelswindow.cpp | |
parent | 8099672c3fd0bfc7804b0a92d05c57dcd4307268 (diff) | |
download | QMidiPlayer-7fccb61519fe84b2ced274f1cc4859d5000e86c6.tar.xz |
Maple Dream. (WTF)
Diffstat (limited to 'qmpchannelswindow.cpp')
-rw-r--r-- | qmpchannelswindow.cpp | 6 |
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]; |