Commit 426149be authored by David Redondo's avatar David Redondo 🏎

Use current way to setup engine

parent 1f229ad0
......@@ -155,8 +155,8 @@ KSMShutdownDlg::KSMShutdownDlg(QWindow* parent,
// engine stuff
KDeclarative::KDeclarative kdeclarative;
kdeclarative.setDeclarativeEngine(engine());
kdeclarative.setupBindings();
// windowContainer->installEventFilter(this);
kdeclarative.setupEngine(engine());
engine()->rootContext()->setContextObject(new KLocalizedContext(engine()));
}
void KSMShutdownDlg::init()
......
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