From d544db07286a9ac0e8e3a1c0e9b9eb2354c156ac Mon Sep 17 00:00:00 2001 From: deepin-ci-robot Date: Tue, 12 Mar 2024 01:52:40 +0000 Subject: [PATCH] sync: from linuxdeepin/qt5integration Synchronize source files from linuxdeepin/qt5integration. Source-pull-request: https://github.com/linuxdeepin/qt5integration/pull/213 --- styleplugins/chameleon/chameleonstyle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/styleplugins/chameleon/chameleonstyle.cpp b/styleplugins/chameleon/chameleonstyle.cpp index 91a1a89..c4bee5c 100644 --- a/styleplugins/chameleon/chameleonstyle.cpp +++ b/styleplugins/chameleon/chameleonstyle.cpp @@ -2954,8 +2954,8 @@ bool ChameleonStyle::drawMenuItem(const QStyleOptionMenuItem *option, QPainter * if (checkable) { checkRect.setLeft(frameRadius); - checkRect.setWidth(smallIconSize); - checkRect.setHeight(smallIconSize); + checkRect.setWidth(smallIconSize - 2); + checkRect.setHeight(smallIconSize - 4); checkRect.moveCenter(QPoint(checkRect.left() + smallIconSize / 2, menuItem->rect.center().y())); painter->setRenderHint(QPainter::Antialiasing);