1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-24 05:33:50 +03:00

Revert "dock property accessible from containment"

This reverts commit 37c349e32e.
This commit is contained in:
Johan Smith Agudelo Rodriguez 2016-12-26 16:05:44 -05:00
parent 343aac23eb
commit 90eab441b7

View File

@ -115,8 +115,7 @@ 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);
setSource(corona()->kPackage().filePath("nowdockui"));