Skip to content

Commit

Permalink
Reduce complexity of {CLEARFIELD} on Linux
Browse files Browse the repository at this point in the history
Instead of `CTRL + HOME, CTRL + SHIFT + END, BACKSPACE` use `HOME, SHIFT + END, BACKSPACE`

Fixes #10006
  • Loading branch information
droidmonkey committed Apr 28, 2024
1 parent 13362c9 commit 195e5b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/autotype/xcb/AutoTypeXCB.cpp
Expand Up @@ -606,8 +606,8 @@ AutoTypeAction::Result AutoTypeExecutorX11::execType(const AutoTypeKey* action)
AutoTypeAction::Result AutoTypeExecutorX11::execClearField(const AutoTypeClearField* action)
{
Q_UNUSED(action);
execType(new AutoTypeKey(Qt::Key_Home, Qt::ControlModifier));
execType(new AutoTypeKey(Qt::Key_End, Qt::ControlModifier | Qt::ShiftModifier));
execType(new AutoTypeKey(Qt::Key_Home));
execType(new AutoTypeKey(Qt::Key_End, Qt::ShiftModifier));
execType(new AutoTypeKey(Qt::Key_Backspace));
return AutoTypeAction::Result::Ok();
}
Expand Down

0 comments on commit 195e5b5

Please sign in to comment.