From 26ca77281c710cb56f5ccbc3e7f340a48112dc23 Mon Sep 17 00:00:00 2001 From: laserpants Date: Mon, 13 Jun 2016 09:09:14 +0300 Subject: [PATCH] fix disabled checked appearance --- components/radiobutton.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/radiobutton.cpp b/components/radiobutton.cpp index cfeb29f..5649a32 100644 --- a/components/radiobutton.cpp +++ b/components/radiobutton.cpp @@ -245,8 +245,10 @@ void RadioButton::setIconSize(int size) if (isChecked()) { d->checkedIcon->setIconSize(size); + d->uncheckedIcon->setIconSize(0); } else { d->uncheckedIcon->setIconSize(size); + d->checkedIcon->setIconSize(0); } update(); }