Commit 46003ff5 authored by Nicolas Fella's avatar Nicolas Fella Committed by Kurt Hindenburg
Browse files

Don't manually unminimize window before showing close confirmation dialog

Somwhat ironically removing this fixes the main window appearing together with the confirmation dialog when the window is closed while minimized

(cherry picked from commit 0c72a3fe)
parent e60e71b7
Pipeline #264434 passed with stage
in 7 minutes and 5 seconds
......@@ -607,9 +607,6 @@ bool MainWindow::queryClose()
// make sure the window is shown on current desktop and is not minimized
KWindowSystem::setOnDesktop(winId(), KWindowSystem::currentDesktop());
if (isMinimized()) {
KWindowSystem::unminimizeWindow(winId());
}
int result;
if (!processesRunning.isEmpty()) {
......
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