forked from qt-creator/qt-creator
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:
@@ -3644,7 +3644,7 @@ void CppEditorPlugin::test_quickfix_AddIncludeForUndefinedIdentifier_noDoubleQtH
|
||||
ProjectPartHeaderPath::IncludePath);
|
||||
|
||||
AddIncludeForUndefinedIdentifier factory;
|
||||
const QStringList expectedOperations = QStringList() << QLatin1String("Add #include <QDir>");
|
||||
const QStringList expectedOperations = QStringList("Add #include <QDir>");
|
||||
QuickFixOfferedOperationsTest(testDocuments, &factory, headerPaths, expectedOperations);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user