summaryrefslogtreecommitdiff
path: root/libsowatch/declarativewatchlet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsowatch/declarativewatchlet.cpp')
-rw-r--r--libsowatch/declarativewatchlet.cpp2
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();