From 849da3f322fecd8a7d5c36e7877988240968a008 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Wed, 3 Mar 2021 15:54:11 +0100 Subject: [PATCH] [libcalamaresui] The ViewManager is a UI component for QML, not core --- src/libcalamaresui/utils/Qml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcalamaresui/utils/Qml.cpp b/src/libcalamaresui/utils/Qml.cpp index 2cb13c803..534b2d3f5 100644 --- a/src/libcalamaresui/utils/Qml.cpp +++ b/src/libcalamaresui/utils/Qml.cpp @@ -227,7 +227,7 @@ registerQmlModels() return Calamares::Branding::instance(); } ); qmlRegisterSingletonType< Calamares::ViewManager >( - "io.calamares.core", 1, 0, "ViewManager", []( QQmlEngine*, QJSEngine* ) -> QObject* { + "io.calamares.ui", 1, 0, "ViewManager", []( QQmlEngine*, QJSEngine* ) -> QObject* { return Calamares::ViewManager::instance(); } ); qmlRegisterSingletonType< Calamares::GlobalStorage >(