diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-08-25 19:58:48 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-08-25 19:59:29 +0200 |
commit | 6404b8cd4d57468b810538da04f8017fb13ccc37 (patch) | |
tree | a7ea65d971b24791368d9eae5b1db92551ef0ea8 /lib/csapi/room_upgrades.cpp | |
parent | 376da43a29f3ebad807da2761e7a0c0b105587ec (diff) | |
download | libquotient-6404b8cd4d57468b810538da04f8017fb13ccc37.tar.gz libquotient-6404b8cd4d57468b810538da04f8017fb13ccc37.zip |
Refactor the code handling emoji
- Use a dedicated structure, EmojiEntry, instead of QVariantMap
(it's Q_GADGET, should be readable from QML just fine)
- While we're at it, QVector is better than QList in Qt 5.15
- Remove language from the session state - it's used in a single method
- Modernise handleKey() code
Diffstat (limited to 'lib/csapi/room_upgrades.cpp')
0 files changed, 0 insertions, 0 deletions