mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-01 00:33:38 -05:00
Fix potential deadlock in ShowMatchDialog
This commit is contained in:
parent
d89f8a7972
commit
d018740442
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user