aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmpmainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmidiplayer-desktop/qmpmainwindow.cpp')
-rw-r--r--qmidiplayer-desktop/qmpmainwindow.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/qmidiplayer-desktop/qmpmainwindow.cpp b/qmidiplayer-desktop/qmpmainwindow.cpp
index a139c20..a0a4539 100644
--- a/qmidiplayer-desktop/qmpmainwindow.cpp
+++ b/qmidiplayer-desktop/qmpmainwindow.cpp
@@ -284,7 +284,8 @@ void qmpMainWindow::updateWidgets()
}
delete playerTh;
playerTh = nullptr;
- player->playerPanic(true);
+ player->playerPanic();
+ player->playerReset();
chnlw->on_pbUnmute_clicked();
chnlw->on_pbUnsolo_clicked();
ui->pbPlayPause->setIcon(QIcon(getThemedIcon(":/img/play.svg")));
@@ -355,7 +356,8 @@ void qmpMainWindow::switchTrack(QString s, bool interrupt)
playerTh = nullptr;
}
timer->stop();
- player->playerPanic(true);
+ player->playerPanic();
+ player->playerReset();
ui->hsTimer->setValue(0);
chnlw->on_pbUnmute_clicked();
chnlw->on_pbUnsolo_clicked();
@@ -669,7 +671,8 @@ void qmpMainWindow::on_pbStop_clicked()
player->playerDeinit();
setFuncEnabled("Render", stopped);
setFuncEnabled("ReloadSynth", stopped);
- player->playerPanic(true);
+ player->playerPanic();
+ player->playerReset();
if (playerTh)
{
playerTh->join();