| 1320 | } |
| 1321 | |
| 1322 | void NetHackQtMainWindow::keyReleaseEvent(QKeyEvent* event) |
| 1323 | { |
| 1324 | if ( dirkey ) { |
| 1325 | doKeys(QString(QChar(dirkey))); |
| 1326 | if ( !event->isAutoRepeat() ) |
| 1327 | dirkey = 0; |
| 1328 | } |
| 1329 | } |
| 1330 | |
| 1331 | void NetHackQtMainWindow::keyPressEvent(QKeyEvent* event) |
| 1332 | { |
nothing calls this directly
no outgoing calls
no test coverage detected