forked from qt-creator/qt-creator
Drop Qt5: Android, IOS & WASM: Get rid of QOverload
Add a context object into some lambdas. Change-Id: I72631aeb36703f8f335f3819796fb52148f1b377 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -685,7 +685,7 @@ void AndroidDeviceManager::setupDevicesWatcher()
|
||||
m_avdFileSystemWatcher.addPath(avdPath.toString());
|
||||
connect(&m_avdsFutureWatcher, &QFutureWatcherBase::finished,
|
||||
this, &AndroidDeviceManager::HandleAvdsListChange);
|
||||
connect(&m_avdFileSystemWatcher, &QFileSystemWatcher::directoryChanged, this, [this]() {
|
||||
connect(&m_avdFileSystemWatcher, &QFileSystemWatcher::directoryChanged, this, [this] {
|
||||
// If the avd list upate command is running no need to call it again.
|
||||
if (!m_avdsFutureWatcher.isRunning())
|
||||
updateAvdsList();
|
||||
|
||||
Reference in New Issue
Block a user