Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-45262

close.accepted = false ignored when QCoreApplication::quit() is called

    XMLWordPrintable

Details

    Description

      On OSX "App Menu-Quit" is hooked into QCoreApplication::quit() as is the quit command in the dock menu

      When either of these is called on a qtquick application the onClosing handler is run for the window and even if close.accepted = false it is ignored and the application will quit

      (A qt widgets application with a QMainWindow overriding event() and ignore() the even will not quit under the same situation)

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-45262
          # Subject Branch Project Status CR V

          Activity

            People

              vestbo Tor Arne Vestbø
              xzcvczx Simon Wells
              Votes:
              6 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes