summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/kernel/qkeysequence/tst_qkeysequence.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-07-26 17:38:14 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-07-26 18:06:46 +0200
commitbd3088ceb322381ac33bda11554667f1c9a421f8 (patch)
treee6b8eed1b083d2ff62c79a0b7a1d77217f3fff95 /tests/auto/gui/kernel/qkeysequence/tst_qkeysequence.cpp
parentf418a96f9b7f003738894d0c19e176b2abc457df (diff)
Fix warnings about unused variables and functions in tests
Change-Id: Ia758a91384083c13fb4d743f500fef7a6629dfd5 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/gui/kernel/qkeysequence/tst_qkeysequence.cpp')
-rw-r--r--tests/auto/gui/kernel/qkeysequence/tst_qkeysequence.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/auto/gui/kernel/qkeysequence/tst_qkeysequence.cpp b/tests/auto/gui/kernel/qkeysequence/tst_qkeysequence.cpp
index c2639fa209..c1272dc4cf 100644
--- a/tests/auto/gui/kernel/qkeysequence/tst_qkeysequence.cpp
+++ b/tests/auto/gui/kernel/qkeysequence/tst_qkeysequence.cpp
@@ -77,11 +77,6 @@ static bool operator<(const MacSpecialKey &entry, int key)
return entry.key < key;
}
-static bool operator<(int key, const MacSpecialKey &entry)
-{
- return key < entry.key;
-}
-
static const MacSpecialKey * const MacSpecialKeyEntriesEnd = entries + NumEntries;
static QChar macSymbolForQtKey(int key)