aboutsummaryrefslogtreecommitdiff
path: root/src/core/kauthorized.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/kauthorized.cpp')
-rw-r--r--src/core/kauthorized.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/kauthorized.cpp b/src/core/kauthorized.cpp
index aad23949..66a2be23 100644
--- a/src/core/kauthorized.cpp
+++ b/src/core/kauthorized.cpp
@@ -332,7 +332,7 @@ KCONFIGCORE_EXPORT void loadUrlActionRestrictions(const KConfigGroup &cg)
const QString urlProt = rule[4];
const QString urlHost = rule[5];
QString urlPath = rule[6];
- const bool bEnabled = (rule[7].toLower() == QLatin1String("true"));
+ const bool bEnabled = (rule[7].compare(QLatin1String("true"), Qt::CaseInsensitive) == 0);
if (refPath.startsWith(QLatin1String("$HOME"))) {
refPath.replace(0, 5, QDir::homePath());