Qt: remove Q_OBJECT for mouse/kb handlers

Had to move QObject in parent list for g_fxo changes.
This commit is contained in:
Nekotekina 2021-02-04 15:08:19 +03:00 committed by Megamouse
parent 4f85f151fd
commit a6a92f7b6b
2 changed files with 4 additions and 4 deletions

View File

@ -6,9 +6,9 @@
#include <QKeyEvent>
#include <QWindow>
class basic_keyboard_handler final : public QObject, public KeyboardHandlerBase
class basic_keyboard_handler final : public KeyboardHandlerBase, public QObject
{
Q_OBJECT
//Q_OBJECT
public:
virtual void Init(const u32 max_connect) override;

View File

@ -7,9 +7,9 @@
#include <QMouseEvent>
#include <QWheelEvent>
class basic_mouse_handler final : public QObject, public MouseHandlerBase
class basic_mouse_handler final : public MouseHandlerBase, public QObject
{
Q_OBJECT
//Q_OBJECT
public:
virtual void Init(const u32 max_connect) override;