summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-09-09 06:10:08 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-09-09 06:10:08 (GMT)
commitfe24f53eae3c5e5f67d0d3cd42637772cd27ce2a (patch)
tree000ea84a0a54241e41d44f436f4f66b011482a2e /src/corelib/kernel
parent5a4d3eec863e10d45edb76659c06729efdea4d9d (diff)
downloadQt-fe24f53eae3c5e5f67d0d3cd42637772cd27ce2a.zip
Qt-fe24f53eae3c5e5f67d0d3cd42637772cd27ce2a.tar.gz
Qt-fe24f53eae3c5e5f67d0d3cd42637772cd27ce2a.tar.bz2
Fixed 'use of function is deprecated' warnings reported by RVCT
Task-number: 241223 Reviewed-by: Janne Koskinen
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r--src/corelib/kernel/qcoreapplication.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/kernel/qcoreapplication.cpp b/src/corelib/kernel/qcoreapplication.cpp
index 423bdf8..ac5c804 100644
--- a/src/corelib/kernel/qcoreapplication.cpp
+++ b/src/corelib/kernel/qcoreapplication.cpp
@@ -2184,10 +2184,10 @@ QStringList QCoreApplication::libraryPaths()
QString installPathPlugins = QLibraryInfo::location(QLibraryInfo::PluginsPath);
#if defined(Q_OS_SYMBIAN)
// Add existing path on all drives for relative PluginsPath in Symbian
- if (installPathPlugins.at(1) != QChar(':')) {
+ if (installPathPlugins.at(1) != QChar(QLatin1Char(':'))) {
QString tempPath = installPathPlugins;
- if (tempPath.at(tempPath.length() - 1) != QChar('\\')) {
- tempPath += QChar('\\');
+ if (tempPath.at(tempPath.length() - 1) != QDir::separator()) {
+ tempPath += QDir::separator();
}
RFs& fs = qt_s60GetRFs();
TPtrC tempPathPtr(reinterpret_cast<const TText*> (tempPath.constData()));