1. 21 Sep, 2021 1 commit
    • Jonathan Marten's avatar
      Do not quit unconditionally when main window is closed · b16e0522
      Jonathan Marten authored and Laurent Montel's avatar Laurent Montel committed
      This appears to be a consequence of commits 3e34c9f0 and 22d1bab9.
      When the system tray icon is active, closing the main window should
      merely hide it but keep KMail running in the background.  However,
      the test "if (KMMainWidget::mainWidgetList())" in KMKernel::canQueryClose()
      seems to be incorect, it is saying "if there is a main window, then
      allow the close".  The effect is that KMail quits when the window is
      closed.
      
      The test may have been incorrect for a long time, but masked by the
      second part of the conditional "and if there is more than one main
      window" before commit 3e34c9f0.  Most users will only have one KMail
      main window open and so will never satisfy the condition.
      
      Reversing the test restores the correct behaviour, so that KMail keeps
      running in the background (with the system tray icon shown if enabled)
      when the main window is closed.
      b16e0522
  2. 20 Sep, 2021 3 commits
  3. 19 Sep, 2021 1 commit
  4. 16 Sep, 2021 1 commit
  5. 15 Sep, 2021 4 commits
  6. 14 Sep, 2021 1 commit
  7. 13 Sep, 2021 6 commits
  8. 10 Sep, 2021 2 commits
  9. 09 Sep, 2021 1 commit
  10. 08 Sep, 2021 3 commits
  11. 07 Sep, 2021 4 commits
  12. 06 Sep, 2021 4 commits
  13. 05 Sep, 2021 3 commits
  14. 04 Sep, 2021 2 commits
  15. 01 Sep, 2021 2 commits
  16. 30 Aug, 2021 2 commits