| 1332 | } |
| 1333 | |
| 1334 | bool NetHackQtPlayerSelector::Choose() |
| 1335 | { |
| 1336 | if (fully_specified_role) return TRUE; |
| 1337 | |
| 1338 | #if defined(QWS) // probably safe with Qt 3, too (where show!=exec in QDialog). |
| 1339 | if ( qt_compact_mode ) { |
| 1340 | showMaximized(); |
| 1341 | } else |
| 1342 | #endif |
| 1343 | { |
| 1344 | adjustSize(); |
| 1345 | centerOnMain(this); |
| 1346 | } |
| 1347 | |
| 1348 | if ( exec() ) { |
| 1349 | return TRUE; |
| 1350 | } else { |
| 1351 | return FALSE; |
| 1352 | } |
| 1353 | } |
| 1354 | |
| 1355 | |
| 1356 | NetHackQtStringRequestor::NetHackQtStringRequestor(NetHackQtKeyBuffer& ks, const char* p, const char* cancelstr) : |
no test coverage detected