qt: fix error popup not showing up with Qt 5.15

type was registered twice: as a singleton and as a type. For some reason, this
was still working with older Qt versions
This commit is contained in:
Pierre Lamot 2022-09-09 09:51:04 +02:00 committed by Steve Lhomme
parent ad0c7b4b40
commit 83105630b9
1 changed files with 0 additions and 1 deletions

View File

@ -260,7 +260,6 @@ void MainUI::registerQMLTypes()
qmlRegisterType<AboutModel>( uri, versionMajor, versionMinor, "AboutModel" );
qmlRegisterUncreatableType<DialogErrorModel>( uri, versionMajor, versionMinor, "DialogErrorModel", "");
qmlRegisterType<DialogModel>(uri, versionMajor, versionMinor, "DialogModel");
qRegisterMetaType<DialogId>();
qmlRegisterUncreatableType<DialogId>( uri, versionMajor, versionMinor, "DialogId", "");