First post, by emendelson
One of the newest additions to SVN enables the Cmd-Q keystroke under OS X, which shuts down DOSBox immediately. Cmd-Q is the "quit" keystroke for all OS X applications.
However, under every other OS X application that I have tried, Cmd-Q only shuts down the application immediately if there is no unsaved document open in the application. If an unsaved document is open, then Cmd-Q brings up a dialog asking "Do you want to Quit?" or some similar message.
As implemented in SVN, Cmd-Q shuts down DOSBox immediately without any dialog. (At least that's way it seems to work for me.) For my own application (which is NOT game-related) this is slightly dangerous, because it means that a user can lose work. I think it might be dangerous for gaming also, since someone who presses Cmd-Q by mistake might lose all the progress made in a game during the current session.
I know I can build my own application without the lines of code that enable Cmd-Q. But is there any hope that it might be changed to bring up a "Do you really want to quit" dialog instead of shutting down immediately? I think that this might be preferred by users who run games under DOSBox in OS X.