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 <alervd...@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@qt-project.org https://lists.qt-project.org/listinfo/interest
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest