KConfigGui::sessionConfig() always returns a valid pointer, so the condition would always be true, which caused KMail to terminate whenever the main window was closed (even when systray was enabled). qApp->isSavingSession() is the right way to tell whether session saving is in progress (even if we handle it by our own config).wilder-work
parent
bc56033e7a
commit
95bcb39412
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue