Skip to content
This repository was archived by the owner on Apr 28, 2022. It is now read-only.

Commit b057524

Browse files
author
Dmitriy Nikiforov
committed
[plugin] Register Partition metatype. Contributes to JB#46822
1 parent 534a572 commit b057524

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plugin/plugin.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ class SystemSettingsPlugin : public QQmlExtensionPlugin
7979
qmlRegisterType<QUsbModed>(uri, 1, 0, "USBSettings");
8080
qmlRegisterType<AboutSettings>(uri, 1, 0, "AboutSettings");
8181
qmlRegisterType<PartitionModel>(uri, 1, 0, "PartitionModel");
82+
qRegisterMetaType<Partition>("Partition");
8283
qmlRegisterType<DeveloperModeSettings>(uri, 1, 0, "DeveloperModeSettings");
8384
qmlRegisterType<CertificateModel>(uri, 1, 0, "CertificateModel");
8485
qmlRegisterSingletonType<VpnModel>(uri, 1, 0, "VpnModel", vpnmodel_api_factory);

0 commit comments

Comments
 (0)