Remove no longer needed ifdefs
This commit is contained in:
parent
811084503f
commit
c22aa8092a
2 changed files with 1 additions and 9 deletions
|
@ -5,14 +5,9 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <KAuth/Action>
|
||||
#include <KLocalizedString>
|
||||
#include <KMessageBox>
|
||||
#include <kauth_version.h>
|
||||
#if KAUTH_VERSION >= QT_VERSION_CHECK(5, 92, 0)
|
||||
#include <KAuth/Action>
|
||||
#else
|
||||
#include <KAuth/KAuthAction>
|
||||
#endif
|
||||
#include <QApplication>
|
||||
#include <QCommandLineParser>
|
||||
#include <QDebug>
|
||||
|
|
|
@ -633,9 +633,6 @@ void TestWaylandSeat::testPointerButton_data()
|
|||
QTest::newRow("left") << Qt::LeftButton << quint32(BTN_LEFT);
|
||||
QTest::newRow("right") << Qt::RightButton << quint32(BTN_RIGHT);
|
||||
// Deprecated in qt5.15
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
||||
QTest::newRow("mid") << Qt::MidButton << quint32(BTN_MIDDLE);
|
||||
#endif
|
||||
QTest::newRow("middle") << Qt::MiddleButton << quint32(BTN_MIDDLE);
|
||||
QTest::newRow("back") << Qt::BackButton << quint32(BTN_BACK);
|
||||
QTest::newRow("x1") << Qt::XButton1 << quint32(BTN_BACK);
|
||||
|
|
Loading…
Reference in a new issue