Commit 0a12e90c authored by Vincent Pinon's avatar Vincent Pinon
Browse files

Revert "Windows: terminate KDE session on window close"

This reverts commit d6cea2ef.
parent 04ee4fa9
...@@ -2146,9 +2146,6 @@ void MainWindow::closeEvent(QCloseEvent *event) ...@@ -2146,9 +2146,6 @@ void MainWindow::closeEvent(QCloseEvent *event)
{ {
KXmlGuiWindow::closeEvent(event); KXmlGuiWindow::closeEvent(event);
if (event->isAccepted()) { if (event->isAccepted()) {
#ifdef Q_OS_WIN
QProcess::startDetached(QStandardPaths::findExecutable(QStringLiteral("kdeinit5")) + " --terminate");
#endif
QApplication::exit(m_exitCode); QApplication::exit(m_exitCode);
return; return;
} }
......
Markdown is supported
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