From 8a3da51fe3598abca1cd524783087c3922a78977 Mon Sep 17 00:00:00 2001 From: Johan Smith Agudelo Rodriguez Date: Wed, 28 Dec 2016 13:23:15 -0500 Subject: [PATCH] QmlEngine is shared. --- corona/nowdockview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/corona/nowdockview.cpp b/corona/nowdockview.cpp index 860a948e8..11790ee21 100644 --- a/corona/nowdockview.cpp +++ b/corona/nowdockview.cpp @@ -116,8 +116,8 @@ void NowDockView::init() connect(this, SIGNAL(widthChanged(int)), this, SIGNAL(widthChanged())); connect(this, SIGNAL(heightChanged(int)), this, SIGNAL(heightChanged())); - rootContext()->setContextProperty(QStringLiteral("dock"), this); - engine()->rootContext()->setContextProperty(QStringLiteral("dock"), this); + rootContext()->setContextProperty(QStringLiteral("panel"), this); + // engine()->rootContext()->setContextProperty(QStringLiteral("dock"), this); setSource(corona()->kPackage().filePath("nowdockui"));