Miscellaneous code cleanup in class KHangMan
- move method calls
setLevel
(inline) andloadLanguageSpecialCharacters
toloadLevels
- fix
nextWord
logic to prevent infinite loop in certain cases - rearrange
slotSetWordsSequence
logic to reduce dynamic allocation and repeated API calls - move error reporting closer to error origination; switch to
KMessageBox
for consistent error dialog - remove unused method
languageNames
- minor syntax updates
Testing:
- tested local build runs correctly with patched source