MCPcopy Create free account
hub / github.com/NetHack/NetHack / qt_preference_update

Method qt_preference_update

win/Qt/qt_bind.cpp:1047–1058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1045}
1046
1047void 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
1060char *NetHackQtBind::qt_getmsghistory(boolean init)
1061{

Callers

nothing calls this directly

Calls 1

redoStatusMethod · 0.80

Tested by

no test coverage detected