Add missing static to constexpr in keyevents test
Change-Id: I9e83876aadca3254042eb48ed51287e403830cf0 Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
parent
4f51742ee1
commit
7152a1d0be
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user