forked from qt-creator/qt-creator
AutoTest: Modernize code a bit
Change-Id: Ie56f6e5cb8a4f1962bd8df5e57214911ae609921 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user