Add missing static to constexpr in keyevents test

Change-Id: I9e83876aadca3254042eb48ed51287e403830cf0
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
Tor Arne Vestbø 2023-10-11 17:06:57 +02:00
parent 4f51742ee1
commit 7152a1d0be

View File

@ -106,7 +106,7 @@ public:
QStringList keyCombinations;
for (auto combination : event.possibleKeyCombinations)
keyCombinations << QKeySequence(combination).toString(QKeySequence::NativeText);
constexpr auto leftToRightOverride = QChar(0x202d);
static constexpr auto leftToRightOverride = QChar(0x202d);
return leftToRightOverride + keyCombinations.join(" ");
}
default: {