mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-27 06:03:51 +03:00
QmlEngine is shared.
This commit is contained in:
parent
c80857c16b
commit
8a3da51fe3
@ -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"));
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user