Commit c22aa809 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove no longer needed ifdefs

parent 81108450
Pipeline #218929 failed with stage
in 18 minutes and 46 seconds
......@@ -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
Please register or sign in to reply
#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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment