Use old style invocation to avoid bug in older qt
Some checks are pending
Build eismuliplexer for linux / Build (push) Waiting to run
Some checks are pending
Build eismuliplexer for linux / Build (push) Waiting to run
This commit is contained in:
parent
01b5b160ba
commit
8762983cc7
2 changed files with 2 additions and 2 deletions
|
|
@ -120,7 +120,7 @@ bool AceStepWorker::requestGeneration(SongItem song, QString requestTemplate)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run generation in the worker thread
|
// Run generation in the worker thread
|
||||||
QMetaObject::invokeMethod(this, &AceStepWorker::runGeneration, Qt::QueuedConnection);
|
QMetaObject::invokeMethod(this, "runGeneration", Qt::QueuedConnection);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -578,7 +578,7 @@ void MainWindow::ensureSongsInQueue(bool enqeueCurrent)
|
||||||
isGeneratingNext = true;
|
isGeneratingNext = true;
|
||||||
|
|
||||||
ui->statusbar->showMessage("Generateing: "+nextSong.caption);
|
ui->statusbar->showMessage("Generateing: "+nextSong.caption);
|
||||||
QMetaObject::invokeMethod(aceStep, &AceStepWorker::requestGeneration, Qt::QueuedConnection, nextSong, jsonTemplate);
|
aceStep->requestGeneration(nextSong, jsonTemplate);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::flushGenerationQueue()
|
void MainWindow::flushGenerationQueue()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue