From e8549f90cd2dca66fd34954409823a6fd15c2707 Mon Sep 17 00:00:00 2001 From: Marco Allegretti Date: Tue, 5 May 2026 13:30:46 +0200 Subject: [PATCH] Mark folio HomeScreen as uncreatable The containment provides HomeScreen instances itself. Mark the QML type uncreatable to avoid default-construction warnings from the QML type registration. --- containments/homescreens/folio/homescreen.h | 1 + 1 file changed, 1 insertion(+) diff --git a/containments/homescreens/folio/homescreen.h b/containments/homescreens/folio/homescreen.h index e0910787..70dc5f7c 100644 --- a/containments/homescreens/folio/homescreen.h +++ b/containments/homescreens/folio/homescreen.h @@ -34,6 +34,7 @@ class HomeScreen : public Plasma::Containment { Q_OBJECT QML_ELEMENT + QML_UNCREATABLE("HomeScreen is provided by the folio containment") Q_PROPERTY(FolioSettings *FolioSettings READ folioSettings CONSTANT) Q_PROPERTY(HomeScreenState *HomeScreenState READ homeScreenState CONSTANT)