Fix autotest tst_QAction::setStandardKeys()
The possible key sequences for QKeySequence::Copy on X11 is Ctrl+C, then Ctrl+Insert and at last F16. The order is defined in QPlatformThemePrivate::keyBindings. Task-number: QTBUG-46053 Change-Id: I86a0767e268088edfce98cfb07f9fb78f00d0713 Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
This commit is contained in:
parent
c168838f7d
commit
383d2eaab4
@ -1,2 +0,0 @@
|
||||
[setStandardKeys]
|
||||
linux
|
@ -240,7 +240,7 @@ void tst_QAction::setStandardKeys()
|
||||
expected << ctrlC << ctrlInsert;
|
||||
break;
|
||||
default: // X11
|
||||
expected << ctrlC << QKeySequence(QStringLiteral("F16")) << ctrlInsert;
|
||||
expected << ctrlC << ctrlInsert << QKeySequence(QStringLiteral("F16"));
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user