diff options
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]; |