From 78c72d2dfcd570e7463a78da10904cebae6127f5 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Wed, 29 May 2024 15:04:15 +0200 Subject: [PATCH] Fix compatibility with Qt 6.7.1 Upstream QTBUG-105023 fix made it mandatory that arguments to QObject::findChild[ren] calls must be Q_OBJECTs. --- src/gui/dlgStdPad.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/dlgStdPad.hpp b/src/gui/dlgStdPad.hpp index 0b064634d..ef4c07876 100644 --- a/src/gui/dlgStdPad.hpp +++ b/src/gui/dlgStdPad.hpp @@ -47,6 +47,8 @@ typedef struct _joy_list { extern _joy_list joy_list; class pixmapButton: public QPushButton { + Q_OBJECT + private: QPixmap pixmap;