mirror of
https://github.com/zealdocs/zeal.git
synced 2024-08-17 02:00:25 +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)
|
||||
qRegisterMetaTypeStreamOperators<ExternalLinkPolicy>("ExternalLinkPolicy");
|
||||
#else
|
||||
qRegisterMetaType<ExternalLinkPolicy>("ExternalLinkPolicy");
|
||||
#endif
|
||||
|
||||
load();
|
||||
|
Loading…
Reference in New Issue
Block a user