Hi Mike,

Thanks for your reply. Yes, exitApp() works properly and will exit the program. Here is function definition:

Qt Code:
  1. void CMainWindow::exitApp()
  2. {
  3. QApplication::exit(0);
  4. }
To copy to clipboard, switch view to plain text mode 

I believe it has something to do with the events I'm limited to. I've read in a few places that modeless dialogs will only destroy itself (or emit the destoryed() signal) if a flag is set (Qt::WA_DeleteOnClose ... I think?) But I can't seem to find the right place in my constructor to add this flag. Maybe I'm just not doing it correctly...

In addition, the closeEvent() event doesn't work either...

Kat