mirror of
https://github.com/zealdocs/zeal.git
synced 2024-09-11 14:25:52 +03:00
fix(core): register ExternalLinkPolicy type for Qt 6
This commit is contained in:
parent
ac992e5aa0
commit
243abdd02b
@ -59,6 +59,8 @@ Settings::Settings(QObject *parent)
|
|||||||
{
|
{
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(6,0,0)
|
#if QT_VERSION < QT_VERSION_CHECK(6,0,0)
|
||||||
qRegisterMetaTypeStreamOperators<ExternalLinkPolicy>("ExternalLinkPolicy");
|
qRegisterMetaTypeStreamOperators<ExternalLinkPolicy>("ExternalLinkPolicy");
|
||||||
|
#else
|
||||||
|
qRegisterMetaType<ExternalLinkPolicy>("ExternalLinkPolicy");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
load();
|
load();
|
||||||
|
Loading…
Reference in New Issue
Block a user