nexus: Add missing Q_MOC_RUN guard

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah 2020-11-05 11:14:29 +00:00
parent 3d41656168
commit f41b4045d4

View File

@ -46,7 +46,9 @@ struct DelayInfo
return ret;
}
};
// https://bugreports.qt.io/browse/QTBUG-80789
#ifndef Q_MOC_RUN
enum ConstIds
{
ID_NONE
@ -58,6 +60,7 @@ enum ConstIds
#define X(t) static constexpr auto id_##t = IdString(ID_##t);
#include "constids.inc"
#undef X
#endif
struct BelId
{