diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/kauthorized.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/kauthorized.cpp b/src/core/kauthorized.cpp index 4de7218c..993a5e86 100644 --- a/src/core/kauthorized.cpp +++ b/src/core/kauthorized.cpp @@ -349,13 +349,8 @@ KCONFIGCORE_EXPORT void allowUrlActionInternal(const QString &action, const QUrl MY_D QMutexLocker locker((&d->mutex)); -#if QT_VERSION >= QT_VERSION_CHECK(5, 3, 0) const QString basePath = _baseURL.adjusted(QUrl::StripTrailingSlash).path(); const QString destPath = _destURL.adjusted(QUrl::StripTrailingSlash).path(); -#else - const QString basePath = QUrl(_baseURL.toString(QUrl::StripTrailingSlash)).path(); - const QString destPath = QUrl(_destURL.toString(QUrl::StripTrailingSlash)).path(); -#endif d->urlActionRestrictions.append(URLActionRule (action.toLatin1(), _baseURL.scheme(), _baseURL.host(), basePath, |