diff --git a/KelvinDashboardGUI/DapQmlScreenAbout.qml b/KelvinDashboardGUI/DapQmlScreenAbout.qml index e4b3c93215a4a036a50330f0b1d257f947f080aa..da8d3cd2915cd57c254a86ede9637e2122eb3bc4 100755 --- a/KelvinDashboardGUI/DapQmlScreenAbout.qml +++ b/KelvinDashboardGUI/DapQmlScreenAbout.qml @@ -6,8 +6,8 @@ import KelvinDashboard 1.0 DapUiQmlScreenAbout { id: dapQmlScreenAbout - textTitle.text: DapServiceController.Brand + textTitle.text: dapServiceController.Brand textAbout.text: "KelvinDashboard" - textVersion.text: "Version " + DapServiceController.Version + textVersion.text: "Version " + dapServiceController.Version textYear.text: new Date().toLocaleDateString(locale, "dd MMM yyyy") } diff --git a/KelvinDashboardGUI/main.cpp b/KelvinDashboardGUI/main.cpp index dce86218eaacb0a55bcf82f3a92e7a1a7b5426de..365d4c173a1e8ca2a70c0b23648ea26ac03aa7b7 100755 --- a/KelvinDashboardGUI/main.cpp +++ b/KelvinDashboardGUI/main.cpp @@ -52,7 +52,6 @@ int main(int argc, char *argv[]) qmlRegisterType<DapScreenDialog>("KelvinDashboard", 1, 0, "DapScreenDialog"); qmlRegisterType<DapScreenDialogChangeWidget>("KelvinDashboard", 1, 0, "DapScreenDialogChangeWidget"); qmlRegisterType<DapLogMessage>("LogMessage", 1, 0, "DapLogMessage"); - qmlRegisterSingletonType<DapServiceController>("KelvinDashboard", 1, 0, "DapServiceController", DapServiceController::singletonProvider); qmlRegisterSingletonType<DapUiQmlWidgetModel>("KelvinDashboard", 1, 0, "DapUiQmlWidgetModel", DapUiQmlWidgetModel::singletonProvider); QQmlApplicationEngine engine;