Use old style invocation to avoid bug in older qt
Some checks are pending
Build eismuliplexer for linux / Build (push) Waiting to run

This commit is contained in:
Carl Philipp Klemm 2026-04-15 20:19:25 +02:00
parent 01b5b160ba
commit 8762983cc7
2 changed files with 2 additions and 2 deletions

View file

@ -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;
} }

View file

@ -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()