Commit bbe4db6c authored by David Edmundson's avatar David Edmundson
Browse files

[krunner] Port old style connect

Test Plan: Compiles

Reviewers: #plasma, apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 87b4c574
......@@ -125,8 +125,9 @@ View::~View()
void View::objectIncubated()
connect(m_qmlObj->rootObject(), SIGNAL(widthChanged()), this, SLOT(resetScreenPos()));
setMainItem(qobject_cast<QQuickItem *>(m_qmlObj->rootObject()));
auto mainItem = qobject_cast<QQuickItem *>(m_qmlObj->rootObject());
connect(mainItem, &QQuickItem::widthChanged, this, &View::resetScreenPos);
void View::slotFocusWindowChanged()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment