]> cloud.milkyroute.net Git - dolphin.git/commitdiff
We depend against kf5.91 => remove check
authorLaurent Montel <montel@kde.org>
Tue, 31 May 2022 19:12:01 +0000 (21:12 +0200)
committerLaurent Montel <montel@kde.org>
Tue, 31 May 2022 19:12:01 +0000 (21:12 +0200)
src/settings/contextmenu/contextmenusettingspage.cpp

index acf80d19526367cb1100f93f0f648c152a9e8e15..fa4ba11a75c6b494c8ac869f46e2a4b0e255dc74 100644 (file)
 #include <kservice_export.h>
 
 #include <QtGlobal>
-#include <knewstuff_version.h>
-#if KNEWSTUFF_VERSION >= QT_VERSION_CHECK(5, 91, 0)
 #include <KNSWidgets/Button>
-#else
-#include <KNS3/Button>
-#endif
 
 #include <QGridLayout>
 #include <QLabel>
@@ -97,11 +92,7 @@ ContextMenuSettingsPage::ContextMenuSettingsPage(QWidget* parent,
     topLayout->addWidget(m_listView);
 
 #ifndef Q_OS_WIN
-#if KNEWSTUFF_VERSION >= QT_VERSION_CHECK(5, 91, 0)
     using NewStuffButton = KNSWidgets::Button;
-#else
-    using NewStuffButton = KNS3::Button;
-#endif // KNEWSTUFF_VERSION
     auto *downloadButton = new NewStuffButton(i18nc("@action:button", "Download New Services..."),
                                               QStringLiteral("servicemenu.knsrc"),
                                               this);