wasm: fix error in 'cut' synthesized key
Pick-to: 6.5 Change-Id: Idca32c8cedb60563f8f1054d6634ab0411c07d9b Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io> Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io>
This commit is contained in:
parent
c24f4d2c32
commit
f3951eb5d0
@ -50,7 +50,7 @@ static void qClipboardCutTo(val event)
|
||||
if (!QWasmIntegration::get()->getWasmClipboard()->hasClipboardApi()) {
|
||||
// Send synthetic Ctrl+X to make the app cut data to Qt's clipboard
|
||||
QWindowSystemInterface::handleKeyEvent(
|
||||
0, QEvent::KeyPress, Qt::Key_C, Qt::ControlModifier, "X");
|
||||
0, QEvent::KeyPress, Qt::Key_X, Qt::ControlModifier, "X");
|
||||
}
|
||||
|
||||
commonCopyEvent(event);
|
||||
|
Loading…
Reference in New Issue
Block a user