[Interest] QEvent::Quit vs. QEvent::Close
Tor Arne Vestbø
Tor.arne.Vestbo at qt.io
Wed Oct 25 16:09:43 CEST 2023
Hi,
Can you elaborate on why you need to distinguish a quit from the Dock vs one initiated by qApp->quit()?
See https://bugreports.qt.io/browse/QTBUG-118533
Cheers,
Tor Arne
On 23 Oct 2023, at 21:05, Alexander Dyagilev <alervdvcw at gmail.com> wrote:
Hello,
In Qt 5.x we had QEvent::Close when the user was using Dock to quit our application.
Now, this is not the case and QEvent::Quit is used instead.
However, the same QEvent::Quit is used when my code calls qApp->quit somewhere.
Is it possible to distinguish these two situations?
_______________________________________________
Interest mailing list
Interest at qt-project.org
https://lists.qt-project.org/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20231025/750d3c9a/attachment.htm>
More information about the Interest
mailing list