ProjectExplorer: Use an alias for QList<Abi>

Change-Id: I69231c5974620ae30296bfc4e0ab41c900d95a3c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-05-27 11:04:18 +02:00
parent 98c4994c38
commit 2ac89cba92
30 changed files with 89 additions and 85 deletions

View File

@@ -807,7 +807,7 @@ static QString msgParameterMissing(const QString &a)
return DebuggerPlugin::tr("Option \"%1\" is missing the parameter.").arg(a);
}
static Kit *guessKitFromAbis(const QList<Abi> &abis)
static Kit *guessKitFromAbis(const Abis &abis)
{
Kit *kit = nullptr;
@@ -2620,8 +2620,8 @@ void DebuggerUnitTests::testDebuggerMatching()
auto expectedLevel = static_cast<DebuggerItem::MatchLevel>(result);
QList<Abi> debuggerAbis;
foreach (const QString &abi, debugger)
Abis debuggerAbis;
for (const QString &abi : qAsConst(debugger))
debuggerAbis << Abi::fromString(abi);
DebuggerItem item;