7 Star 0 Fork 1

src-anolis-dde/qt5-qtbase-5.15

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
QTBUG-95011-do-not-change-layout-direction-on-keyboard-input.patch 827 Bytes
一键复制 编辑 原始数据 按行查看 历史
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/src-anolis-dde/qt5-qtbase-5.15.git
git@gitee.com:src-anolis-dde/qt5-qtbase-5.15.git
src-anolis-dde
qt5-qtbase-5.15
qt5-qtbase-5.15
a8.6

搜索帮助