summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-16 13:57:54 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-16 13:57:54 (GMT)
commit382c28bef6eca4bb097e88026ce766582cb4a1a0 (patch)
treee30423d162d5ecec36067a9c29a688baa24b13b5
parent289f25d8a79b2494099884e883fbab98982cf00b (diff)
Minor optimization
-rw-r--r--src/kdebugsettingsutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kdebugsettingsutil.cpp b/src/kdebugsettingsutil.cpp
index 6e3a588..9475fb6 100644
--- a/src/kdebugsettingsutil.cpp
+++ b/src/kdebugsettingsutil.cpp
@@ -31,7 +31,7 @@ RenameCategory KDebugSettingsUtil::parseRenameCategories(QString line)
KdeLoggingCategory KDebugSettingsUtil::parseLineKdeLoggingCategory(QString line)
{
KdeLoggingCategory category;
- int pos = line.indexOf(QStringLiteral("#"));
+ int pos = line.indexOf(QLatin1Char('#'));
if (pos != -1) {
line.truncate(pos);
line = line.simplified();