summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Pinon <vpinon@kde.org>2017-11-03 16:53:40 (GMT)
committerVincent Pinon <vpinon@kde.org>2017-11-03 19:55:13 (GMT)
commit0a12e90cb55e27be72109629dd3836873ad4cca2 (patch)
tree4a43b01fd7cc449fde9668939ad74dfbc9d59347
parent04ee4fa9259dcaa2d18a499a40c5192f0f5f96d9 (diff)
Revert "Windows: terminate KDE session on window close"
This reverts commit d6cea2efee824f8ed51f29d83e99cedda0ad92c0.
-rw-r--r--src/mainwindow.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 6eac1b1..6b52b96 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2146,9 +2146,6 @@ void MainWindow::closeEvent(QCloseEvent *event)
{
KXmlGuiWindow::closeEvent(event);
if (event->isAccepted()) {
-#ifdef Q_OS_WIN
- QProcess::startDetached(QStandardPaths::findExecutable(QStringLiteral("kdeinit5")) + " --terminate");
-#endif
QApplication::exit(m_exitCode);
return;
}