mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
We depend against kf5.91 => remove check
This commit is contained in:
parent
ad23079e1b
commit
4fc25d5949
|
@ -26,12 +26,7 @@
|
||||||
#include <kservice_export.h>
|
#include <kservice_export.h>
|
||||||
|
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
#include <knewstuff_version.h>
|
|
||||||
#if KNEWSTUFF_VERSION >= QT_VERSION_CHECK(5, 91, 0)
|
|
||||||
#include <KNSWidgets/Button>
|
#include <KNSWidgets/Button>
|
||||||
#else
|
|
||||||
#include <KNS3/Button>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <QGridLayout>
|
#include <QGridLayout>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
|
@ -97,11 +92,7 @@ ContextMenuSettingsPage::ContextMenuSettingsPage(QWidget* parent,
|
||||||
topLayout->addWidget(m_listView);
|
topLayout->addWidget(m_listView);
|
||||||
|
|
||||||
#ifndef Q_OS_WIN
|
#ifndef Q_OS_WIN
|
||||||
#if KNEWSTUFF_VERSION >= QT_VERSION_CHECK(5, 91, 0)
|
|
||||||
using NewStuffButton = KNSWidgets::Button;
|
using NewStuffButton = KNSWidgets::Button;
|
||||||
#else
|
|
||||||
using NewStuffButton = KNS3::Button;
|
|
||||||
#endif // KNEWSTUFF_VERSION
|
|
||||||
auto *downloadButton = new NewStuffButton(i18nc("@action:button", "Download New Services..."),
|
auto *downloadButton = new NewStuffButton(i18nc("@action:button", "Download New Services..."),
|
||||||
QStringLiteral("servicemenu.knsrc"),
|
QStringLiteral("servicemenu.knsrc"),
|
||||||
this);
|
this);
|
||||||
|
|
Loading…
Reference in a new issue