Commit e237ef48 authored by Laurent Montel's avatar Laurent Montel
Browse files

Fix signature in qt6

parent 4f00bbf1
Pipeline #146750 failed with stage
in 1 minute and 5 seconds
......@@ -110,7 +110,11 @@ void KWinKScreenHelperEffect::setEffectProperty(long value)
#endif
}
bool KWinKScreenHelperEffect::nativeEventFilter(const QByteArray &eventType, void *message, long int *result)
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
bool KWinKScreenHelperEffect::nativeEventFilter(const QByteArray &eventType, void *message, long *result)
#else
bool KWinKScreenHelperEffect::nativeEventFilter(const QByteArray &eventType, void *message, qintptr *result)
#endif
{
Q_UNUSED(result);
......
......@@ -51,7 +51,11 @@ public:
bool start();
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
bool nativeEventFilter(const QByteArray &eventType, void *message, long *result) override;
#else
bool nativeEventFilter(const QByteArray &eventType, void *message, qintptr *result) override;
#endif
public Q_SLOTS:
void stop();
......
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