fix(core): register ExternalLinkPolicy type for Qt 6

This commit is contained in:
Oleg Shparber 2023-08-08 00:01:01 -04:00
parent ac992e5aa0
commit 243abdd02b

View File

@ -59,6 +59,8 @@ Settings::Settings(QObject *parent)
{
#if QT_VERSION < QT_VERSION_CHECK(6,0,0)
qRegisterMetaTypeStreamOperators<ExternalLinkPolicy>("ExternalLinkPolicy");
#else
qRegisterMetaType<ExternalLinkPolicy>("ExternalLinkPolicy");
#endif
load();