Hello,
No, it returns true always.
On 10/23/2023 11:30 PM, Hamish Moffatt via Interest wrote:
On 24/10/23 06:10, Alexander Dyagilev wrote:
I would prefer for an additional event to be used when the user
triggers Quit. E.g. something like QEvent::QuitByUser.
For now, it seems I will have to involve some additional ugly logics
(something like setting a global variable).... More code more
complexity for such a simple situation. Not good, IMO.
Does QEvent::spontaneous() tell you anything about the two different
quit events?
Hamish
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest