summaryrefslogtreecommitdiff
path: root/src/plugins/autotest/testcodeparser.cpp
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2016-09-29 12:15:43 +0200
committerChristian Stenger <christian.stenger@qt.io>2016-09-29 12:27:14 +0000
commitb0bf07c64a99f366889f491fd9853bcc1c5f12ef (patch)
tree9cabaf76816e2f81777ae4e493a70046f686b8d3 /src/plugins/autotest/testcodeparser.cpp
parent8b579fca6a6b5977ec6b88e7dcd81dd942706764 (diff)
downloadqt-creator-b0bf07c64a99f366889f491fd9853bcc1c5f12ef.tar.gz
AutoTest: Modernize code a bit
Change-Id: Ie56f6e5cb8a4f1962bd8df5e57214911ae609921 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/autotest/testcodeparser.cpp')
-rw-r--r--src/plugins/autotest/testcodeparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/autotest/testcodeparser.cpp b/src/plugins/autotest/testcodeparser.cpp
index ed988d1ff7..a30cd608a5 100644
--- a/src/plugins/autotest/testcodeparser.cpp
+++ b/src/plugins/autotest/testcodeparser.cpp
@@ -338,7 +338,7 @@ void TestCodeParser::scanForTests(const QStringList &fileList)
if (isFullParse) {
// remove qml files as they will be found automatically by the referencing cpp file
list = Utils::filtered(list, [] (const QString &fn) {
- return !fn.endsWith(QLatin1String(".qml"));
+ return !fn.endsWith(".qml");
});
m_model->markAllForRemoval();
} else {