┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/viewproperties.cpp
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2019-09-08 09:33:41 +0200
committerLaurent Montel <[email protected]>2019-09-08 09:33:41 +0200
commit81065795b78e06ec679ec0589fba7082e777ef2a (patch)
tree67acbba969c750a69734326179815474be25f42b /src/views/viewproperties.cpp
parentdfe713edf0c3b0b44ff18c19ebd4d616a9004f48 (diff)
GIT_SILENT: minor qstring optimization
Diffstat (limited to 'src/views/viewproperties.cpp')
-rw-r--r--src/views/viewproperties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/viewproperties.cpp b/src/views/viewproperties.cpp
index 48ed65471..e5f3a82c4 100644
--- a/src/views/viewproperties.cpp
+++ b/src/views/viewproperties.cpp
@@ -59,7 +59,7 @@ ViewProperties::ViewProperties(const QUrl& url) :
// we store the properties information in a local file.
if (useGlobalViewProps) {
m_filePath = destinationDir(QStringLiteral("global"));
- } else if (url.scheme().contains(QStringLiteral("search"))) {
+ } else if (url.scheme().contains(QLatin1String("search"))) {
m_filePath = destinationDir(QStringLiteral("search/")) + directoryHashForUrl(url);
useDetailsViewWithPath = true;
} else if (url.scheme() == QLatin1String("trash")) {