[krunner] Port old style connect

Test Plan: Compiles

Reviewers: #plasma, apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D24269
wilder-5.18
David Edmundson 7 years ago
parent 87b4c57410
commit bbe4db6c91
  1. 5
      krunner/view.cpp

@ -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);
setMainItem(mainItem);
}
void View::slotFocusWindowChanged()

Loading…
Cancel
Save