Various Plugins: Replace setPaused() with setSuspended()

Fix warnings about deprecated QFutureWatcherBase::setPaused().

Change-Id: I7c4637bcaf141bbda46e34da48306a25c68f039f
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2024-07-22 08:02:51 +02:00
parent 2145023c8c
commit dcaa3afd6d
4 changed files with 4 additions and 4 deletions

View File

@@ -1048,7 +1048,7 @@ void FindReferences::cancel()
void FindReferences::setPaused(bool paused)
{
if (!paused || m_watcher.isRunning()) // guard against pausing when the search is finished
m_watcher.setPaused(paused);
m_watcher.setSuspended(paused);
}
void FindReferences::onReplaceButtonClicked(const QString &text,