代码拉取完成,页面将自动刷新
同步操作将从 src-anolis-os/qt5-qtbase 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Description: <short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.
.
qtbase-opensource-src (5.6.1+dfsg-11deepin) unstable; urgency=medium
.
* add 0010-fix_qrasterpaintengine_rect_for_hidpi.patch
* add 0011-fix_qwidget_paint_area_for_hidpi.patch
Author: Deepin Packages Builder <packages@deepin.com>
---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2017-12-01
--- qtbase-opensource-src-5.6.1+dfsg.orig/src/gui/painting/qpaintengine_raster.cpp
+++ qtbase-opensource-src-5.6.1+dfsg/src/gui/painting/qpaintengine_raster.cpp
@@ -1637,6 +1637,10 @@ QRect QRasterPaintEngine::toNormalizedFi
if (y2 < y1)
qSwap(y1, y2);
+ if (!s->flags.legacy_rounding) {
+ return QRect(x1, y1, qMax(x2 - x1, qRound(rect.width() - 1)), qMax(y2 - y1, qRound(rect.height() - 1)));
+ }
+
return QRect(x1, y1, x2 - x1, y2 - y1);
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。