aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-01-10 07:51:33 +0100
committerLaurent Montel <[email protected]>2018-01-10 07:51:33 +0100
commitd7a43891f081357195774f45ac37d906ec395139 (patch)
treeab43c70682f9ea75e86fd586b5dbe32f02a42f39
parentb449d47d10565cef9445944d12acb8e84b1388b5 (diff)
Use QLatin1Char
-rw-r--r--src/server/storagejanitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/storagejanitor.cpp b/src/server/storagejanitor.cpp
index aaec794..0fe0aaf 100644
--- a/src/server/storagejanitor.cpp
+++ b/src/server/storagejanitor.cpp
@@ -410,7 +410,7 @@ void StorageJanitor::verifyExternalParts()
while (it.hasNext()) {
existingFiles.insert(it.next());
}
- existingFiles.remove(dataDir + QDir::separator() + QLatin1String("."));
+ existingFiles.remove(dataDir + QDir::separator() + QLatin1Char('.'));
existingFiles.remove(dataDir + QDir::separator() + QLatin1String(".."));
inform(QLatin1Literal("Found ") + QString::number(existingFiles.size()) + QLatin1Literal(" external files."));