diff options
author | Kai Koehne <kai.koehne@digia.com> | 2014-09-17 14:36:23 +0200 |
---|---|---|
committer | Zeno Albisser <zeno.albisser@digia.com> | 2014-10-07 23:26:09 +0200 |
commit | 02c80d7487c43dc63f8df7b0cf8f5b4f676e00b6 (patch) | |
tree | 11c2b038705f5b67d4f91efb3b650a63395a1634 /src/core/browser_context_qt.cpp | |
parent | 8bbfa1fe12b88a8cd1e27652ed54d1afc4d872e2 (diff) |
Replace QStringLiteral with QLatin1String where appropriate
It's faster to use QLatin1String in places where we don't actually need
a QString object (like for comparison, or when creating a string with
QStringBuilder).
Change-Id: I9b8e28040dc2b79a767e15015b85822d06141bbe
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'src/core/browser_context_qt.cpp')
-rw-r--r-- | src/core/browser_context_qt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/browser_context_qt.cpp b/src/core/browser_context_qt.cpp index 6d209a775..6f7da2409 100644 --- a/src/core/browser_context_qt.cpp +++ b/src/core/browser_context_qt.cpp @@ -72,7 +72,7 @@ base::FilePath BrowserContextQt::GetPath() const if (dataLocation.isEmpty()) dataLocation = QDir::homePath() % QDir::separator() % QChar::fromLatin1('.') % QCoreApplication::applicationName(); - dataLocation.append(QDir::separator() % QStringLiteral("QtWebEngine")); + dataLocation.append(QDir::separator() % QLatin1String("QtWebEngine")); return base::FilePath(toFilePathString(dataLocation)); } |