Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 8ad3427c authored by Yuri Chornoivan's avatar Yuri Chornoivan

Port away from deprecated KDeclarative::setupBindings

parent d9a78d47
......@@ -72,7 +72,8 @@ KCMNetworkmanagement::KCMNetworkmanagement(QWidget *parent, const QVariantList &
KDeclarative::KDeclarative kdeclarative;
kdeclarative.setDeclarativeEngine(m_quickView->engine());
kdeclarative.setTranslationDomain(QStringLiteral(TRANSLATION_DOMAIN));
kdeclarative.setupBindings();
kdeclarative.setupEngine(m_quickView->engine());
kdeclarative.setupContext();
QWidget *widget = QWidget::createWindowContainer(m_quickView, this);
widget->setMinimumWidth(300);
......
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