mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-06-11 00:47:22 +00:00
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:
parent
ed2fc8301b
commit
e8549f90cd
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue