diff options
Diffstat (limited to 'libsowatch')
-rw-r--r-- | libsowatch/declarativewatchlet.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsowatch/declarativewatchlet.cpp b/libsowatch/declarativewatchlet.cpp index 4683dcb..da66316 100644 --- a/libsowatch/declarativewatchlet.cpp +++ b/libsowatch/declarativewatchlet.cpp @@ -123,6 +123,8 @@ void DeclarativeWatchlet::activate() qDebug() << "Resizing root object to height" << watch->width(); _item->setHeight(watch->height()); } + } else { + qWarning() << "Declarative watchlet will not render: missing root object"; } GraphicsWatchlet::activate(); _wrapper->activate(); |