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
bc0034c7
Commit
bc0034c7
authored
Oct 06, 2020
by
David Edmundson
Browse files
[logout-greeter] Avoid prompting from inside the prompt
parent
654f0c9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
logout-greeter/shutdowndlg.cpp
View file @
bc0034c7
...
...
@@ -269,7 +269,7 @@ void KSMShutdownDlg::setupWaylandIntegration()
void
KSMShutdownDlg
::
slotLogout
()
{
m_session
.
requestLogout
();
m_session
.
requestLogout
(
SessionManagement
::
ConfirmationMode
::
Skip
);
accept
();
}
...
...
@@ -277,7 +277,7 @@ void KSMShutdownDlg::slotReboot()
{
// no boot option selected -> current
m_bootOption
.
clear
();
m_session
.
requestReboot
();
m_session
.
requestReboot
(
SessionManagement
::
ConfirmationMode
::
Skip
);
accept
();
}
...
...
@@ -285,7 +285,7 @@ void KSMShutdownDlg::slotReboot(int opt)
{
if
(
int
(
rebootOptions
.
size
())
>
opt
)
m_bootOption
=
rebootOptions
[
opt
];
m_session
.
requestReboot
();
m_session
.
requestReboot
(
SessionManagement
::
ConfirmationMode
::
Skip
);
accept
();
}
...
...
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