diff options
author | Liang Qi <liang.qi@theqtcompany.com> | 2015-10-27 10:24:52 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2015-10-27 09:46:54 +0000 |
commit | bb62f2815f54a54031ad23134a3182d5edf3211c (patch) | |
tree | 37afac881b483f6c5be656bafaf3b0906e243481 /src/imports | |
parent | 039aad0e539f091ed45383a8cfe562661922f64b (diff) |
QQuickFileSelector: removed selectorIndicator
Change-Id: I63984ef8777112057f86211e235c8ec9846250f9
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/controls/qquickfileselector.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/imports/controls/qquickfileselector.cpp b/src/imports/controls/qquickfileselector.cpp index 88bbf612..8f8f96a0 100644 --- a/src/imports/controls/qquickfileselector.cpp +++ b/src/imports/controls/qquickfileselector.cpp @@ -48,8 +48,6 @@ QT_BEGIN_NAMESPACE //Environment variable to allow tooling full control of file selectors static const char env_override[] = "QT_QUICK_NO_BUILTIN_SELECTORS"; -static const ushort selectorIndicator = '+'; - Q_GLOBAL_STATIC(QQuickFileSelectorSharedData, sharedData); static QBasicMutex sharedDataMutex; @@ -107,7 +105,7 @@ static QString selectionHelper(const QString &path, const QString &fileName, con Q_ASSERT(path.isEmpty() || path.endsWith(QLatin1Char('/'))); foreach (const QString &s, selectors) { - QString prospectiveBase = path + QLatin1Char(selectorIndicator) + s + QLatin1Char('/'); + QString prospectiveBase = path + s + QLatin1Char('/'); QStringList remainingSelectors = selectors; remainingSelectors.removeAll(s); if (!QDir(prospectiveBase).exists()) |