diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2011-09-26 02:36:09 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2011-09-26 02:36:09 +0200 |
commit | 0822b88738e00625efd27ccca9119885272924d2 (patch) | |
tree | f379817602cc23dd829c0aa4751b6b5edc348923 /libsowatch/declarativewatchlet.cpp | |
parent | cf5d24b94d96b722c6d76c2225293a56a50d3c2b (diff) | |
download | sowatch-0822b88738e00625efd27ccca9119885272924d2.tar.gz sowatch-0822b88738e00625efd27ccca9119885272924d2.zip |
fixing bugs found during use ;)
Diffstat (limited to 'libsowatch/declarativewatchlet.cpp')
-rw-r--r-- | libsowatch/declarativewatchlet.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libsowatch/declarativewatchlet.cpp b/libsowatch/declarativewatchlet.cpp index 60538f8..ca60fb0 100644 --- a/libsowatch/declarativewatchlet.cpp +++ b/libsowatch/declarativewatchlet.cpp @@ -66,15 +66,14 @@ QDeclarativeContext* DeclarativeWatchlet::rootContext() void DeclarativeWatchlet::activate() { - Watchlet::activate(); + GraphicsWatchlet::activate(); _wrapper->activate(); - _scene->update(); } void DeclarativeWatchlet::deactivate() { - Watchlet::deactivate(); _wrapper->deactivate(); + GraphicsWatchlet::deactivate(); } void DeclarativeWatchlet::handleComponentStatus(QDeclarativeComponent::Status status) @@ -90,7 +89,7 @@ void DeclarativeWatchlet::handleComponentStatus(QDeclarativeComponent::Status st case QDeclarativeComponent::Ready: obj = _component->create(); if (_component->isError()) { - qWarning() << "QML has instantation errors:"; + qWarning() << "QML has errors found while creating:"; qWarning() << _component->errors(); return; } @@ -99,7 +98,7 @@ void DeclarativeWatchlet::handleComponentStatus(QDeclarativeComponent::Status st scene()->addItem(_item); break; case QDeclarativeComponent::Error: - qWarning() << "QML has errors:"; + qWarning() << "QML has errors found while loading:"; qWarning() << _component->errors(); break; } |