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

Commit 290b35d

Browse files
committed
Merge branch 'jb46822' into 'master'
[plugin] Register Partition metatype. Contributes to JB#46822 See merge request mer-core/nemo-qml-plugin-systemsettings!119
2 parents 534a572 + b057524 commit 290b35d

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)