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.
This commit is contained in:
Marco Allegretti 2026-05-05 13:30:46 +02:00
parent ed2fc8301b
commit e8549f90cd

View file

@ -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)