From fd853bf386571ccd91cb40c13d4b5bd522177a4a Mon Sep 17 00:00:00 2001 From: tanjing Date: Fri, 17 Nov 2023 15:23:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89combobox=E4=B8=8B=E6=8B=89?= =?UTF-8?q?=E6=A1=86=E4=B8=AD=E7=BB=98=E5=88=B6=E7=9A=84=E8=83=8C=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widgets/widgets/qcombobox_p.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/widgets/widgets/qcombobox_p.h b/src/widgets/widgets/qcombobox_p.h index 45580ba9..2cf10db8 100644 --- a/src/widgets/widgets/qcombobox_p.h +++ b/src/widgets/widgets/qcombobox_p.h @@ -276,7 +276,6 @@ protected: const QStyleOptionViewItem &option, const QModelIndex &index) const override { QStyleOptionMenuItem opt = getStyleOption(option, index); - painter->fillRect(option.rect, opt.palette.window()); mCombo->style()->drawControl(QStyle::CE_MenuItem, &opt, painter, mCombo); } QSize sizeHint(const QStyleOptionViewItem &option,