ExtensionSystem: Fix some clazy warnings

Fix use multi-arg.
Add a context object to lambda connections.

Change-Id: I02711c9ecc55188fb174895f7df59f25effd0834
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Jarek Kobus
2022-12-07 01:01:14 +01:00
parent 0b9711b9c5
commit 36ffacabe7
3 changed files with 18 additions and 17 deletions

View File

@@ -1008,7 +1008,7 @@ bool PluginSpecPrivate::resolveDependencies(const QVector<PluginSpec *> &specs)
if (!errorString.isEmpty())
errorString.append(QLatin1Char('\n'));
errorString.append(QCoreApplication::translate("PluginSpec", "Could not resolve dependency '%1(%2)'")
.arg(dependency.name).arg(dependency.version));
.arg(dependency.name, dependency.version));
}
continue;
}