From 183576ae657b864306249baed3b1e1ff39fe0a1f Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Thu, 14 Apr 2022 04:35:20 +0400 Subject: [PATCH] Make a comment about the Qt's Caps Lock bug In order to remember remove it once the bug is fixed --- ui/widgets/input_fields.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/widgets/input_fields.cpp b/ui/widgets/input_fields.cpp index 75cfc30..918d465 100644 --- a/ui/widgets/input_fields.cpp +++ b/ui/widgets/input_fields.cpp @@ -2763,6 +2763,7 @@ void InputField::keyPressEventInner(QKeyEvent *e) { ? (~Qt::ControlModifier) : (enter && shift) ? (~Qt::ShiftModifier) + // Qt bug workaround https://bugreports.qt.io/browse/QTBUG-49771 : (backspace && Platform::IsLinux()) ? (Qt::ControlModifier) : oldModifiers;