called from NetHackQtExtCmdRequestor::Retry()
| 298 | |
| 299 | // called from NetHackQtExtCmdRequestor::Retry() |
| 300 | void 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 | |
| 309 | const QFont& NetHackQtSettings::normalFont() |
| 310 | { |