From ace103c6bcd70048f56430d3e6d13f57bfeaa38e Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Tue, 19 May 2020 14:43:40 +0200 Subject: [PATCH] added error message to ScStwAppTheme qml component --- ScStwSrc/sources/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ScStwSrc/sources/main.cpp b/ScStwSrc/sources/main.cpp index 84e6a3b..948e7a9 100644 --- a/ScStwSrc/sources/main.cpp +++ b/ScStwSrc/sources/main.cpp @@ -92,7 +92,7 @@ int main(int argc, char *argv[]) qmlRegisterType("com.itsblue.speedclimbingstopwatch", 2, 0, "SpeedBackend"); qmlRegisterType("com.itsblue.speedclimbingstopwatch", 2, 0, "ScStwRace"); qmlRegisterType("com.itsblue.speedclimbingstopwatch", 2, 0, "ScStwTimer"); - qmlRegisterUncreatableType("com.itsblue.speedclimbingstopwatch", 2, 0, "ScStwAppTheme", "readonly"); + qmlRegisterUncreatableType("com.itsblue.speedclimbingstopwatch", 2, 0, "ScStwAppTheme", "The ScStwAppTheme has to be managed by a ScStwAppTheme manager and is therefore not creatable"); qmlRegisterType("com.itsblue.speedclimbingstopwatch", 2, 0, "ScStwAppThemeManager"); qmlRegisterType("com.itsblue.speedclimbingstopwatch", 2, 0, "ScStw"); qmlRegisterType("com.itsblue.speedclimbingstopwatch", 2, 0, "ScStwClient");