Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
KDE Workspace
Commits
49e65509
Commit
49e65509
authored
Feb 07, 2012
by
Lamarque Souza
Browse files
Port shutdown dialog to QML.
REVIEW: 103621 BUG: 216853 BUG: 175284
parent
740b84da
Changes
1
Hide whitespace changes
Inline
Side-by-side
ksmserver/shutdown.cpp
View file @
49e65509
...
...
@@ -154,8 +154,7 @@ void KSMServer::shutdown( KWorkSpace::ShutdownConfirm confirm,
if
(
!
logoutConfirmed
)
{
KApplication
::
kApplication
()
->
updateUserTimestamp
();
KSMShutdownFeedback
::
start
();
// make the screen gray
//QString theme = cg.readEntry( "theme", "default" );
QString
theme
=
cg
.
readEntry
(
"theme"
,
"contour"
);
QString
theme
=
cg
.
readEntry
(
"theme"
,
"default"
);
logoutConfirmed
=
KSMShutdownDlg
::
confirmShutdown
(
maysd
,
choose
,
sdtype
,
bopt
,
theme
);
// ###### We can't make the screen remain gray while talking to the apps,
// because this prevents interaction ("do you want to save", etc.)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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