1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-02-02 12:26:48 +01:00

Fix the rendering of the little numbers in the boxes on queued items in the playlist

This commit is contained in:
David Sansome 2014-05-24 14:05:21 +10:00
parent 96dd87a4f3
commit f65c48ef9c

View File

@ -113,7 +113,7 @@ void QueuedItemDelegate::DrawBox(QPainter* painter, const QRect& line_rect,
// Draw the text
painter->setFont(smaller);
painter->drawText(rect.translated(-1, -1), Qt::AlignCenter, text);
painter->drawText(rect, Qt::AlignCenter, text);
painter->translate(-0.5, -0.5);
}