qt5base-lts/tests/auto/gui/kernel/qkeysequence
Tor Arne Vestbø ab99cf6077 QKeySequence::toString(): Treat Modifier+Qt::Key_Unknown as empty string
We were already doing this for a key combination without modifiers,
but now we do the same for e.g. Control+Unknown. This matches the
behavior we have for QKeySequencePrivate::decodeString(), where
we return Qt::Key_Unknown if we can't resolve the key, even if
we have resolved some valid modifiers, e.g. "Meta+Trolls" as in
the tst_QKeySequence::parseString() test.

Change-Id: I238e29276e6ce356ae60c67585739587fa388f07
Reviewed-by: Liang Qi <liang.qi@qt.io>
2023-10-09 15:25:54 +02:00
..
.gitignore
CMakeLists.txt CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
keys_de.qm
keys_de.ts
qt_de.qm
tst_qkeysequence.cpp QKeySequence::toString(): Treat Modifier+Qt::Key_Unknown as empty string 2023-10-09 15:25:54 +02:00