Menu

#25 Quit command on Mac doesn't prompt to Save

v_0.2.0
closed
Interface (150)
5
2012-09-12
2007-05-22
No

When you choose the "quit" menu item on the Mac, the program quits immediately, rather than prompting to save any unsaved changes in windows.

Discussion

  • Geoff Hutchison

    Geoff Hutchison - 2007-09-18

    Logged In: YES
    user_id=21420
    Originator: YES

    For "quit" we need to send a close event to each window:
    http://doc.trolltech.com/qq/qq18-macfeatures.html

     
  • Geoff Hutchison

    Geoff Hutchison - 2007-09-23

    Logged In: YES
    user_id=21420
    Originator: YES

    This is now fixed in SVN revision 682 or later. The QQ article wasn't very useful for this one -- you need to send a close event to the QApplication, which goes and closes each window for us.

    Then you quit. (This is actually how Qt handles AppleEvents like the Dock menu.)