From 56409f5afa9afe9c9a0d0ef3f83005b66164a9a0 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 7 Feb 2017 16:59:21 +0100 Subject: Replace a few occurrences of QStringList() << ... ... by something shorter. Change-Id: I363b4e509adb07997517b2d233246a333aea4aea Reviewed-by: Christian Stenger --- src/plugins/cpptools/cppsourceprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/cpptools/cppsourceprocessor.cpp') diff --git a/src/plugins/cpptools/cppsourceprocessor.cpp b/src/plugins/cpptools/cppsourceprocessor.cpp index 89da0a02ad..fc28a6135e 100644 --- a/src/plugins/cpptools/cppsourceprocessor.cpp +++ b/src/plugins/cpptools/cppsourceprocessor.cpp @@ -168,7 +168,7 @@ void CppSourceProcessor::addFrameworkPath(const ProjectPartHeaderPath &framework m_headerPaths.append(cleanFrameworkPath); const QDir frameworkDir(cleanFrameworkPath.path); - const QStringList filter = QStringList() << QLatin1String("*.framework"); + const QStringList filter = QStringList("*.framework"); foreach (const QFileInfo &framework, frameworkDir.entryInfoList(filter)) { if (!framework.isDir()) continue; -- cgit v1.2.1