88
91
qmlRegisterType<SystemSettings::PluginManager>("SystemSettings", 1, 0, "PluginManager");
89
92
view.engine()->rootContext()->setContextProperty("Utilities", &utils);
90
93
view.setResizeMode(QQuickView::SizeRootObjectToView);
93
96
view.rootContext()->setContextProperty("defaultPlugin", defaultPlugin);
95
99
view.rootContext()->setContextProperty("pluginOptions", pluginOptions);
96
100
view.rootContext()->setContextProperty("view", &view);
97
101
view.setSource(QUrl("qrc:/qml/MainWindow.qml"));