From d63f61f5f1ca1caf30ae0b3859b2b85d055cd58d Mon Sep 17 00:00:00 2001 From: edisionnano Date: Wed, 29 May 2024 05:29:48 +0300 Subject: [PATCH] Hardcode the size of the dot --- statusdot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statusdot.cpp b/statusdot.cpp index 0921c5e..e98760f 100644 --- a/statusdot.cpp +++ b/statusdot.cpp @@ -4,7 +4,7 @@ void StatusDot::paint(QPainter *painter, const QStyleOptionViewItem &option, con { QStyleOptionViewItem opt = option; initStyleOption(&opt, index); - int dotSize = qMin(opt.rect.width(), opt.rect.height()) * 0.5; + int dotSize = 15; painter->save(); painter->setRenderHint(QPainter::Antialiasing, true);