Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
426149be
Commit
426149be
authored
Nov 03, 2020
by
David Redondo
🏎
Browse files
Use current way to setup engine
parent
1f229ad0
Changes
1
Hide whitespace changes
Inline
Side-by-side
logout-greeter/shutdowndlg.cpp
View file @
426149be
...
...
@@ -155,8 +155,8 @@ KSMShutdownDlg::KSMShutdownDlg(QWindow* parent,
// engine stuff
KDeclarative
::
KDeclarative
kdeclarative
;
kdeclarative
.
setDeclarativeEngine
(
engine
());
kdeclarative
.
setup
Bindings
(
);
//
windowContainer->installEventFilter(this
);
kdeclarative
.
setup
Engine
(
engine
()
);
engine
()
->
rootContext
()
->
setContextObject
(
new
KLocalizedContext
(
engine
())
);
}
void
KSMShutdownDlg
::
init
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment