mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-01 22:25:36 -05:00
add thread priority option (using QThread)
This commit is contained in:
@@ -89,7 +89,7 @@ void SceneSwitcher::SetStopped()
|
||||
|
||||
void SceneSwitcher::on_toggleStartButton_clicked()
|
||||
{
|
||||
if (switcher->th.joinable())
|
||||
if (switcher->th && switcher->th->isRunning())
|
||||
{
|
||||
switcher->Stop();
|
||||
SetStopped();
|
||||
|
||||
Reference in New Issue
Block a user