Skip to content

Commit

Permalink
[plugin] Register Partition metatype. Contributes to JB#46822
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitriy Nikiforov committed Sep 18, 2019
1 parent 534a572 commit b057524
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugin/plugin.cpp
Expand Up @@ -79,6 +79,7 @@ class SystemSettingsPlugin : public QQmlExtensionPlugin
qmlRegisterType<QUsbModed>(uri, 1, 0, "USBSettings");
qmlRegisterType<AboutSettings>(uri, 1, 0, "AboutSettings");
qmlRegisterType<PartitionModel>(uri, 1, 0, "PartitionModel");
qRegisterMetaType<Partition>("Partition");
qmlRegisterType<DeveloperModeSettings>(uri, 1, 0, "DeveloperModeSettings");
qmlRegisterType<CertificateModel>(uri, 1, 0, "CertificateModel");
qmlRegisterSingletonType<VpnModel>(uri, 1, 0, "VpnModel", vpnmodel_api_factory);
Expand Down

0 comments on commit b057524

Please sign in to comment.