forked from qt-creator/qt-creator
ProjectExplorer: Use an alias for QList<Abi>
Change-Id: I69231c5974620ae30296bfc4e0ab41c900d95a3c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user