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 Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
CMakeLists.txt CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
keys_de.qm Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
keys_de.ts Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
qt_de.qm Update year in Nokia copyright headers. 2012-01-10 07:12:41 +01:00
tst_qkeysequence.cpp QKeySequence::toString(): Treat Modifier+Qt::Key_Unknown as empty string 2023-10-09 15:25:54 +02:00