From eaa2b557027c01709ec55166655bd585585d87e1 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sat, 23 Sep 2023 11:46:32 +0200 Subject: [PATCH] Make the DelegateType class a QObject We're not instantiating it, so it doesn't really cause a significant overhead. This silences a warning about invalid type names --- src/enums/delegatetype.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/enums/delegatetype.h b/src/enums/delegatetype.h index a6b9a6498..a35af1446 100644 --- a/src/enums/delegatetype.h +++ b/src/enums/delegatetype.h @@ -10,9 +10,9 @@ * * This class is designed to define the DelegateType enumeration. */ -class DelegateType +class DelegateType : public QObject { - Q_GADGET + Q_OBJECT public: /**