Commit 88d00c45 authored by Marco Bubke's avatar Marco Bubke

QmlDesigner: Change QMLFILEPATTERN to s_qmlFilePattern

Change-Id: I5fb2faca0b7322908ae7abb7633627b113035dbc
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@nokia.com>
parent bc672464
......@@ -74,7 +74,7 @@ namespace QmlDesigner {
namespace Internal {
static const QString QMLFILEPATTERN = QString(QLatin1String("*.qml"));
static const QString s_qmlFilePattern = QString(QLatin1String("*.qml"));
class SubComponentManagerPrivate : QObject {
......@@ -209,7 +209,7 @@ void SubComponentManagerPrivate::parseDirectory(const QString &canonicalDirPath,
QDir dir(canonicalDirPath);
dir.setNameFilters(QStringList(QMLFILEPATTERN));
dir.setNameFilters(QStringList(s_qmlFilePattern));
dir.setFilter(QDir::Files | QDir::Readable | QDir::CaseSensitive);
QList<QFileInfo> monitoredList = watchedFiles(canonicalDirPath);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment