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

Method updateXcmd

win/Qt/qt_set.cpp:300–307  ·  view source on GitHub ↗

called from NetHackQtExtCmdRequestor::Retry()

Source from the content-addressed store, hash-verified

298
299// called from NetHackQtExtCmdRequestor::Retry()
300void NetHackQtSettings::updateXcmd(bool by_row, int which_set)
301{
302 // update 'settings' to have Qt store the revised values for next session
303 xcmd_by_row = by_row;
304 settings.setValue("xcmdByRow", QVariant(xcmd_by_row));
305 xcmd_set = which_set;
306 settings.setValue("xcmdSet", xcmd_set);
307}
308
309const QFont& NetHackQtSettings::normalFont()
310{

Callers 1

RetryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected