Commit 1d1cad0a authored by David Edmundson's avatar David Edmundson
Browse files

[logout-greeter] Fix shutdown

In porting from kdelibs4support slotHalt got missed.
parent fd190035
......@@ -300,7 +300,7 @@ void KSMShutdownDlg::slotLockScreen()
void KSMShutdownDlg::slotHalt()
{
m_bootOption.clear();
m_shutdownType = KWorkSpace::ShutdownTypeHalt;
m_session.requestShutdown(SessionManagement::ConfirmationMode::Skip);
accept();
}
......
......@@ -69,7 +69,6 @@ protected:
private:
void setupWaylandIntegration();
KWorkSpace::ShutdownType m_shutdownType;
QString m_bootOption;
QStringList rebootOptions;
bool m_result : 1;
......
Supports Markdown
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