diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-04-13 23:13:15 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-04-13 23:13:15 +0800 |
commit | 2888a8349d11a3e959c300256ce36e824337e636 (patch) | |
tree | 390a70369be170271741a60692b966adc1032219 /qmidiplayer-desktop/qmpmainwindow.cpp | |
parent | 43ae9bb08b7f3f18028fa8663a6077f4ae1ccbca (diff) | |
download | QMidiPlayer-2888a8349d11a3e959c300256ce36e824337e636.tar.xz |
Ghost Lead.
Diffstat (limited to 'qmidiplayer-desktop/qmpmainwindow.cpp')
-rw-r--r-- | qmidiplayer-desktop/qmpmainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qmidiplayer-desktop/qmpmainwindow.cpp b/qmidiplayer-desktop/qmpmainwindow.cpp index 380b0c1..45ab634 100644 --- a/qmidiplayer-desktop/qmpmainwindow.cpp +++ b/qmidiplayer-desktop/qmpmainwindow.cpp @@ -180,7 +180,7 @@ void qmpMainWindow::updateWidgets() if(!plistw->getRepeat()) { timer->stop();stopped=true;playing=false; - fnA2->setEnabled(stopped); + fnA2->setEnabled(stopped);chnlw->resetAcitivity(); player->playerDeinit();playerTh->join(); delete playerTh;playerTh=NULL; if(singleFS)player->playerPanic(true); @@ -320,7 +320,7 @@ void qmpMainWindow::on_pbPlayPause_clicked() { if(!playing) { - player->playerPanic(); + player->playerPanic();chnlw->resetAcitivity(); offset=ui->hsTimer->value()/100.*player->getFtime(); } else @@ -371,7 +371,7 @@ void qmpMainWindow::on_pbStop_clicked() { timer->stop();stopped=true;playing=false; player->playerDeinit();fnA2->setEnabled(stopped); - if(singleFS)player->playerPanic(true); + if(singleFS)player->playerPanic(true);chnlw->resetAcitivity(); if(playerTh){playerTh->join();delete playerTh;playerTh=NULL;} chnlw->on_pbUnmute_clicked();chnlw->on_pbUnsolo_clicked(); ui->pbPlayPause->setIcon(QIcon(":/img/play.png")); |