Skip to content

Commit

Permalink
Remove a no longer needed workaround for QTextEdit on X11
Browse files Browse the repository at this point in the history
It's fixed in Qt 6.2 and seem to be even backported to 5.15

qt/qtbase@4b0b87b
  • Loading branch information
ilya-fedin authored and john-preston committed May 19, 2024
1 parent 59984fe commit 037ceb2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ui/widgets/fields/input_field.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2941,9 +2941,6 @@ void InputField::keyPressEventInner(QKeyEvent *e) {
? (~Qt::ControlModifier)
: (enter && shift)
? (~Qt::ShiftModifier)
// Qt bug workaround https://bugreports.qt.io/browse/QTBUG-49771
: (backspace && Platform::IsX11())
? (Qt::ControlModifier)
: oldModifiers;
const auto changeModifiers = (oldModifiers & ~allowedModifiers) != 0;
if (changeModifiers) {
Expand Down

0 comments on commit 037ceb2

Please sign in to comment.