summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qlibraryinfo.cpp
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2012-07-09 11:39:10 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-10 03:24:59 +0200
commite61fc701e4110271d3f65c127af85d11cb5a4d28 (patch)
tree5f5633d62e36160a5b9fe797e57a9a5548ac80d1 /src/corelib/global/qlibraryinfo.cpp
parent2d5d6c8fbc4e0575bd4388a8ccc6d198619a3a03 (diff)
Speed up QCoreApplication construction a bit
Remove all QString conversions during QCoreApplication construction on Linux. Saves multiple mallocs. Change-Id: Ia8ba071a750dd6a08dcf14ef3ecc424f70a3098d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qlibraryinfo.cpp')
-rw-r--r--src/corelib/global/qlibraryinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
index 9953eef5e1..7ea8fcc4d1 100644
--- a/src/corelib/global/qlibraryinfo.cpp
+++ b/src/corelib/global/qlibraryinfo.cpp
@@ -131,7 +131,7 @@ QLibrarySettings::QLibrarySettings()
QSettings *QLibraryInfoPrivate::findConfiguration()
{
- QString qtconfig = QLatin1String(":/qt/etc/qt.conf");
+ QString qtconfig = QStringLiteral(":/qt/etc/qt.conf");
#ifdef QT_BUILD_QMAKE
if(!QFile::exists(qtconfig))
qtconfig = qmake_libraryInfoFile();