diff options
author | David Faure <faure@kde.org> | 2016-01-02 17:15:14 +0100 |
---|---|---|
committer | David Faure <faure@kde.org> | 2016-01-02 17:15:14 +0100 |
commit | 4ca3442fe635500a0f33209bf228dcb4183db779 (patch) | |
tree | e7f3de81fcaad4214e62926224383a426b721d20 /src/core/kauthorized.cpp | |
parent | 446da56e5976de5d52e8d08f823bb832616e779f (diff) | |
download | kconfig-4ca3442fe635500a0f33209bf228dcb4183db779.tar.gz kconfig-4ca3442fe635500a0f33209bf228dcb4183db779.tar.bz2 |
Qt 5.3 is required, remove code for < 5.3
Diffstat (limited to 'src/core/kauthorized.cpp')
-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, |