| 316 | #endif |
| 317 | |
| 318 | void NetHackQtBind::qt_exit_nhwindows(const char *) |
| 319 | { |
| 320 | #ifdef IDLECHECKPOINT |
| 321 | if (qt_input_timer) { |
| 322 | NetHackQtBind::free_qt_input_timer(); |
| 323 | } |
| 324 | #endif |
| 325 | #if defined(QWS) |
| 326 | // Avoids bug in SHARP SL5500 |
| 327 | ((TApp*)qApp)->lwc(); |
| 328 | qApp->quit(); |
| 329 | #endif |
| 330 | |
| 331 | delete instance; // ie. qApp |
| 332 | } |
| 333 | |
| 334 | void NetHackQtBind::qt_suspend_nhwindows(const char *) |
| 335 | { |