Use lightwight Q_GADGET instead of Q_OBJECT
parent
b1bc4c5d53
commit
86dd4ba6c4
|
@ -4,12 +4,12 @@
|
|||
#include <QDebug>
|
||||
#include <QMap>
|
||||
#include <QMetaEnum>
|
||||
#include <QObject>
|
||||
#include <QObject> // For Q_GADGET
|
||||
#include <QRegularExpression>
|
||||
|
||||
class Geometry : public QObject
|
||||
class Geometry
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_GADGET
|
||||
public:
|
||||
enum Format
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue