From 4ca3442fe635500a0f33209bf228dcb4183db779 Mon Sep 17 00:00:00 2001 From: David Faure Date: Sat, 2 Jan 2016 17:15:14 +0100 Subject: Qt 5.3 is required, remove code for < 5.3 --- src/core/kauthorized.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/core/kauthorized.cpp') 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, -- cgit v1.2.1