summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-07-01 14:37:58 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-07-02 11:05:02 +0200
commit6df8a30333e681066e25a850ca12576d523db6b3 (patch)
tree23eff5114be187d4725b4fd617132fb439efeeb0 /src/corelib/kernel
parent8c8eae279d57ff73b69620f5710b8290d6268051 (diff)
tst_QShortcut: Brush up the code, preparing the extraction of a base class to QtGui
- Use nullptr - Fix static method invocations - Use QString() instead of QString("") - Use override - Use member initialization - Remove unimplemented code related to status bars - Use Qt 5 connection syntax - Fix apparent oversights in ambiguousItems() and unicodeCompare(),where the 2nd shortcut was assigned to the wrong button - Use Q_ENUM for the enumerations which will output the value in QCOMPARE and automatically declare them to be a metatype - Use enums in helper function signature for clarity Task-number: QTBUG-76493 Change-Id: I0ed6ee7ee8dc2dbb48160a8383e6ed29164c3449 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'src/corelib/kernel')
0 files changed, 0 insertions, 0 deletions