mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-27 19:56:07 -05:00
Fix potential deadlock in ShowMatchDialog
This commit is contained in:
@@ -71,11 +71,8 @@ void ShowMatchDialog::CheckForMatchLoop()
|
||||
continue;
|
||||
}
|
||||
auto image = MarkMatch(screenshot.image);
|
||||
if (_stop) {
|
||||
return;
|
||||
}
|
||||
QMetaObject::invokeMethod(this, "RedrawImage",
|
||||
Qt::BlockingQueuedConnection,
|
||||
Qt::QueuedConnection,
|
||||
Q_ARG(QImage, image));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user