https://bugs.kde.org/show_bug.cgi?id=469690

--- Comment #10 from Christoph Cullmann <cullm...@kde.org> ---
Git commit a03c5190fb1b2202d684674b7ed32f6a05388042 by Christoph Cullmann, on
behalf of Kai Uwe Broulik.
Committed on 20/09/2023 at 11:09.
Pushed by cullmann into branch 'release/23.08'.

Explicitly call QCoreApplication::exit()

> In Qt 5, QCoreApplication::quit() was equivalent to calling 
> QCoreApplication::exit().
> This just exited the main event loop.
> In Qt 6, the method will instead try to close all top-level windows by 
> posting a close event.
> The windows are free to cancel the shutdown process by ignoring the event.
> Call QCoreApplication::exit() to keep the non-conditional behavior.

Kate already does its own cleanup and close handling when the event loop
exits, now leading to double prompts when Qt sends a close event and then
Kate tries to close them. Instead, just call `exit()`.


(cherry picked from commit 1949852afa14f4c479ca96e85cec3661d454efad)

M  +3    -3    apps/kate/katewaiter.cpp
M  +5    -1    apps/lib/kateapp.cpp

https://invent.kde.org/utilities/kate/-/commit/a03c5190fb1b2202d684674b7ed32f6a05388042

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to