Port to non-deprecated KWindowSystem::unminimizeWindow

The bool is ignored since KF 5.0
wilder-portage
David Faure 7 years ago
parent 6943a31745
commit f8d0b14f9a
  1. 2
      src/MainWindow.cpp

@ -594,7 +594,7 @@ 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(), true);
KWindowSystem::unminimizeWindow(winId());
}
int result;

Loading…
Cancel
Save