1 Star 0 Fork 19

Funda Wang/qt5-qtbase

forked from src-anolis-os/qt5-qtbase 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
QTBUG-95011-do-not-change-layout-direction-on-keyboard-input.patch 827 Bytes
一键复制 编辑 原始数据 按行查看 历史
xingwei-liu 提交于 2022-10-13 02:47 . !8 feature: add patchs for DDE
Author: fanruijie <fanruijie@uniontech.com>
Date: Wed July 14 10:42:24 2021 +0800
Subject: fix QColorDialog html do not translate
Upstream: https://codereview.qt-project.org/c/qt/qtbase/+/358558
Index: qtbase-opensource-src/src/widgets/widgets/qlineedit.cpp
===================================================================
--- qtbase-opensource-src.orig/src/widgets/widgets/qlineedit.cpp
+++ qtbase-opensource-src/src/widgets/widgets/qlineedit.cpp
@@ -1782,11 +1782,8 @@ void QLineEdit::keyPressEvent(QKeyEvent
}
#endif
d->control->processKeyEvent(event);
- if (event->isAccepted()) {
- if (layoutDirection() != d->control->layoutDirection())
- setLayoutDirection(d->control->layoutDirection());
+ if (event->isAccepted())
d->control->updateCursorBlinking();
- }
}
/*!
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fundawang/qt5-qtbase.git
git@gitee.com:fundawang/qt5-qtbase.git
fundawang
qt5-qtbase
qt5-qtbase
a8

搜索帮助