Diffusion Muon 465ca5fcf203

Fix muon not closing with window close button.

Authored by Carlo Vanini <silhusk@gmail.com> on Mar 3 2016, 12:27 AM.

Description

Fix muon not closing with window close button.

The variable m_canExit was not initialized and did prevent muon from exiting
when closed from the window manager. Remove it because it is never changed and
remove canExit() because it is in the wrong place anyway to prevent exiting
while acting on packages. It should be in backend.

Testing Done:

  • open muon close by clicking the X button in the window decoration or with
  • Alt+F4

Closing with File -> Exit or Ctrl+Q does not call MainWindow::queryClose() and
therefore did always work.

REVIEW: 127249
BUG: 358659

Details

Committed
Carlo Vanini <silhusk@gmail.com>Mar 3 2016, 12:28 AM
Parents
R550:a4a78eca9ad9: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown
Carlo Vanini <silhusk@gmail.com> committed R550:465ca5fcf203: Fix muon not closing with window close button. (authored by Carlo Vanini <silhusk@gmail.com>).Mar 3 2016, 12:28 AM