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
Plasma
Plasma Workspace
Commits
1d1cad0a
Commit
1d1cad0a
authored
Oct 07, 2020
by
David Edmundson
Browse files
[logout-greeter] Fix shutdown
In porting from kdelibs4support slotHalt got missed.
parent
fd190035
Changes
2
Hide whitespace changes
Inline
Side-by-side
logout-greeter/shutdowndlg.cpp
View file @
1d1cad0a
...
...
@@ -300,7 +300,7 @@ void KSMShutdownDlg::slotLockScreen()
void
KSMShutdownDlg
::
slotHalt
()
{
m_bootOption
.
clear
();
m_s
hutdownType
=
KWorkSpace
::
ShutdownTypeHalt
;
m_s
ession
.
requestShutdown
(
SessionManagement
::
ConfirmationMode
::
Skip
)
;
accept
();
}
...
...
logout-greeter/shutdowndlg.h
View file @
1d1cad0a
...
...
@@ -69,7 +69,6 @@ protected:
private:
void
setupWaylandIntegration
();
KWorkSpace
::
ShutdownType
m_shutdownType
;
QString
m_bootOption
;
QStringList
rebootOptions
;
bool
m_result
:
1
;
...
...
Write
Preview
Supports
Markdown
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