Hardcode the size of the dot

This commit is contained in:
edisionnano
2024-05-29 05:29:48 +03:00
committed by GitHub
parent 675207b0a6
commit d63f61f5f1

View File

@@ -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);