| 1045 | } |
| 1046 | |
| 1047 | void NetHackQtBind::qt_preference_update(const char *optname) |
| 1048 | { |
| 1049 | #ifdef DYNAMIC_STATUSLINES // defined in qt_main.h |
| 1050 | if (!strcmp(optname, "statuslines")) { |
| 1051 | // delete and recreate status window |
| 1052 | // to toggle statuslines from 2 to 3 or vice versa |
| 1053 | id_to_window[WIN_STATUS] = main->redoStatus(); |
| 1054 | } |
| 1055 | #else |
| 1056 | nhUse(optname); |
| 1057 | #endif |
| 1058 | } |
| 1059 | |
| 1060 | char *NetHackQtBind::qt_getmsghistory(boolean init) |
| 1061 | { |
nothing calls this directly
no test coverage detected