Replace a few occurrences of QStringList() << ...

... by something shorter.

Change-Id: I363b4e509adb07997517b2d233246a333aea4aea
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2017-02-07 16:59:21 +01:00
parent 95e2d7f545
commit 56409f5afa
37 changed files with 92 additions and 117 deletions

View File

@@ -596,9 +596,9 @@ void CorePlugin::testVcsManager_data()
<< QLatin1String("a/1/b/../../2:a:A:*") // in A
);
QTest::newRow("A and B") // first one wins...
<< (QStringList() << QLatin1String("a:a") << QLatin1String("a/1:a") << QLatin1String("a/2:a"))
<< (QStringList() << QLatin1String("a:a") << QLatin1String("a/1:a") << QLatin1String("a/2:a"))
<< (QStringList() << QLatin1String("a/2:a:A:*"));
<< QStringList({ "a:a", "a/1:a", "a/2:a" })
<< QStringList({ "a:a", "a/1:a", "a/2:a" })
<< QStringList({ "a/2:a:A:*" });
}
void CorePlugin::testVcsManager()