qt5base-lts/tests/auto/widgets/kernel/qshortcut
Giuseppe D'Angelo fec51be209 tst_qshortcut (x2): use op | instead of op + to combine keys
Following the introduction of QKeyCombination, reduce the number
of warnings raised by the test. Drive-by, remove some pointless
math like Qt::SHIFT+0, which does not make any sense and would
actually fail to compile (shortly).

Refactoring the test to fully use QKeyCombination (instead of
ints) is left as a future exercise; some QKeyCombination->int
warnings are still around.

Change-Id: If825bc4c369986623447927bb11493c4f58b544f
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-09-07 15:50:02 +02:00
..
.gitignore Move tst_qshortcut.cpp to QtWidgets 2012-03-12 21:38:51 +01:00
CMakeLists.txt CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qshortcut.pro QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
tst_qshortcut.cpp tst_qshortcut (x2): use op | instead of op + to combine keys 2020-09-07 15:50:02 +02:00