summaryrefslogtreecommitdiffstats
path: root/src/core/web_engine_library_info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/web_engine_library_info.cpp')
-rw-r--r--src/core/web_engine_library_info.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/web_engine_library_info.cpp b/src/core/web_engine_library_info.cpp
index c36a204e9..4cdf3813e 100644
--- a/src/core/web_engine_library_info.cpp
+++ b/src/core/web_engine_library_info.cpp
@@ -78,7 +78,7 @@ QString location(QLibraryInfo::LibraryLocation path)
switch (path) {
case QLibraryInfo::TranslationsPath:
if (!webEnginePath.isEmpty())
- return webEnginePath % QDir::separator() % QStringLiteral("translations");
+ return webEnginePath % QDir::separator() % QLatin1String("translations");
break;
case QLibraryInfo::DataPath:
if (!webEnginePath.isEmpty())
@@ -96,9 +96,9 @@ QString subProcessPath()
{
static bool initialized = false;
#if defined(OS_WIN)
- static QString processBinary (QStringLiteral(QTWEBENGINEPROCESS_NAME) % QStringLiteral(".exe"));
+ static QString processBinary (QLatin1String(QTWEBENGINEPROCESS_NAME) % QLatin1String(".exe"));
#else
- static QString processBinary (QStringLiteral(QTWEBENGINEPROCESS_NAME));
+ static QString processBinary (QLatin1String(QTWEBENGINEPROCESS_NAME));
#endif
static QString processPath (location(QLibraryInfo::LibraryExecutablesPath)
% QDir::separator() % processBinary);
@@ -121,12 +121,12 @@ QString subProcessPath()
QString pluginsPath()
{
- return location(QLibraryInfo::PluginsPath) % QDir::separator() % QStringLiteral("qtwebengine");
+ return location(QLibraryInfo::PluginsPath) % QDir::separator() % QLatin1String("qtwebengine");
}
QString localesPath()
{
- return location(QLibraryInfo::TranslationsPath) % QStringLiteral("/qtwebengine_locales");
+ return location(QLibraryInfo::TranslationsPath) % QLatin1String("/qtwebengine_locales");
}
QString fallbackDir() {
@@ -155,7 +155,7 @@ base::FilePath WebEngineLibraryInfo::getPath(int key)
QString directory;
switch (key) {
case QT_RESOURCES_PAK:
- return toFilePath(location(QLibraryInfo::DataPath) % QStringLiteral("/qtwebengine_resources.pak"));
+ return toFilePath(location(QLibraryInfo::DataPath) % QLatin1String("/qtwebengine_resources.pak"));
case base::FILE_EXE:
case content::CHILD_PROCESS_EXE:
return toFilePath(subProcessPath());