diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/kauthorized.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/kauthorized.cpp b/src/core/kauthorized.cpp index 3a06c887..1abd83eb 100644 --- a/src/core/kauthorized.cpp +++ b/src/core/kauthorized.cpp @@ -300,13 +300,13 @@ KCONFIGCORE_EXPORT void loadUrlActionRestrictions(const KConfigGroup &cg) continue; } const QByteArray action = rule[0].toLatin1(); - QString refProt = rule[1]; - QString refHost = rule[2]; + const QString refProt = rule[1]; + const QString refHost = rule[2]; QString refPath = rule[3]; - QString urlProt = rule[4]; - QString urlHost = rule[5]; + const QString urlProt = rule[4]; + const QString urlHost = rule[5]; QString urlPath = rule[6]; - bool bEnabled = (rule[7].toLower() == QLatin1String("true")); + const bool bEnabled = (rule[7].toLower() == QLatin1String("true")); if (refPath.startsWith(QLatin1String("$HOME"))) { refPath.replace(0, 5, QDir::homePath()); |