summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Alpert <416365416c@gmail.com>2013-09-13 00:44:49 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-20 01:09:12 +0200
commit938c838c1019a21f22c8f238852084969a3d0682 (patch)
treea4c41c6980bddec04bb66c7ac70ee35829d80bc8 /src
parent9329f786da8e167130fa36b91ff288bfdb046ce1 (diff)
Change QT_FILE_SELECTORS to be comma separated
It is not full paths being used, so switching to comma does not require different environment variables per platform nor does it appear to be platform dependent. Change-Id: I219517d740fa7385e923a9e09cb7e241378f85ba Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/io/qfileselector.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/corelib/io/qfileselector.cpp b/src/corelib/io/qfileselector.cpp
index 6e91497817..c7d0879fea 100644
--- a/src/corelib/io/qfileselector.cpp
+++ b/src/corelib/io/qfileselector.cpp
@@ -328,11 +328,7 @@ void QFileSelectorPrivate::updateSelectors()
if (!sharedData->staticSelectors.isEmpty())
return; //Already loaded
-#if defined(Q_OS_WIN)
- QLatin1Char pathSep(';');
-#else
- QLatin1Char pathSep(':');
-#endif
+ QLatin1Char pathSep(',');
QStringList envSelectors = QString::fromLatin1(qgetenv("QT_FILE_SELECTORS"))
.split(pathSep, QString::SkipEmptyParts);
if (envSelectors.count())