Fix APP property typing

This commit is contained in:
2026-04-11 09:51:35 +08:00
parent acea92b0de
commit a8b3eb5797
3 changed files with 20 additions and 4 deletions

View File

@@ -79,3 +79,19 @@ Implemented behavior:
- start handshake on launch
- poll the logic layer with a timer
- refresh settings page texts from logic state
### Node 6: Qt property typing fix
Files updated in this step:
- `KeyBorad/KeyBorad/APP/AppKeyboardPage.cpp`
- `KeyBorad/KeyBorad/APP/AppSettingsPage.cpp`
Design notes:
- keep widget property values explicit under MSVC + Qt
- avoid relying on implicit conversion from string literal to `QVariant`
Implemented behavior:
- replace raw `"title"` / `"body"` property values with `QStringLiteral(...)`