aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-06-12 20:51:17 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-06-12 20:51:17 +0200
commitc18a591b484db451eb084ec4f1f17057813800df (patch)
tree61da98a76f3b03016c04fd07303b57b533e56ae3 /lib/room.cpp
parentdcbb2cfd0e238f788105d7d249f8aac6ad0823e4 (diff)
downloadlibquotient-c18a591b484db451eb084ec4f1f17057813800df.tar.gz
libquotient-c18a591b484db451eb084ec4f1f17057813800df.zip
Adjust to new moc/QMetaType requirements
See https://www.qt.io/blog/whats-new-in-qmetatype-qvariant#qmetatype-knows-your-properties-and-methods-types
Diffstat (limited to 'lib/room.cpp')
-rw-r--r--lib/room.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index fadcea17..abaf50b7 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -16,6 +16,9 @@
#include "syncdata.h"
#include "user.h"
+// NB: since Qt 6, moc_room.cpp needs User fully defined
+#include "moc_room.cpp"
+
#include "csapi/account-data.h"
#include "csapi/banning.h"
#include "csapi/inviting.h"