forked from qt-creator/qt-creator
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user