From 49c64104c0750857858504b512955d9cc31e5c42 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sun, 5 May 2013 01:55:41 +0200 Subject: update the rest of the watchlets --- libsowatch/declarativewatchlet.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'libsowatch/declarativewatchlet.cpp') diff --git a/libsowatch/declarativewatchlet.cpp b/libsowatch/declarativewatchlet.cpp index ed6ec26..3647575 100644 --- a/libsowatch/declarativewatchlet.cpp +++ b/libsowatch/declarativewatchlet.cpp @@ -84,14 +84,9 @@ void DeclarativeWatchlet::setSource(const QUrl &url) } } -QDeclarativeEngine* DeclarativeWatchlet::engine() +QDeclarativeContext* DeclarativeWatchlet::context() { - return _engine; -} - -QDeclarativeContext* DeclarativeWatchlet::rootContext() -{ - return _engine->rootContext(); + return _context; } QDeclarativeItem* DeclarativeWatchlet::rootObject() -- cgit v1.2.3