mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-07 11:59:57 +03:00
Hardcode the size of the dot
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user