Fix various compiler warnings

Change-Id: Ib64f04f154b2c44dad3248ef038449c2ac628686
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Christian Kandeler
2021-12-01 19:19:09 +01:00
parent f02d143a81
commit b2d63bf79e
11 changed files with 9 additions and 19 deletions

View File

@@ -479,7 +479,7 @@ void GitPluginPrivate::onApplySettings()
QString errorMessage;
m_settings.gitExecutable(&gitFoundOk, &errorMessage);
if (!gitFoundOk) {
QTimer::singleShot(0, this, [this, errorMessage] {
QTimer::singleShot(0, this, [errorMessage] {
Core::AsynchronousMessageBox::warning(tr("Git Settings"), errorMessage);
});
}