dock property accessible from containment

pull/1/head
Johan Smith Agudelo Rodriguez 8 years ago
parent 890fe896b0
commit 374ab658a4

@ -115,7 +115,8 @@ void NowDockView::init()
connect(this, SIGNAL(widthChanged(int)), this, SIGNAL(widthChanged()));
connect(this, SIGNAL(heightChanged(int)), this, SIGNAL(heightChanged()));
rootContext()->setContextProperty(QStringLiteral("panel"), this);
rootContext()->setContextProperty(QStringLiteral("dock"), this);
engine()->rootContext()->setContextProperty(QStringLiteral("dock"), this);
setSource(corona()->kPackage().filePath("nowdockui"));

Loading…
Cancel
Save