This commit is contained in:
Kovid Goyal 2023-02-03 22:19:29 +05:30
parent d6068e0316
commit 5160369cb4
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -87,7 +87,7 @@ static void draw_arrow(Qt::ArrowType type, QPainter *painter, const QStyleOption
if (rect.isEmpty())
return;
const qreal dpi = option->fontMetrics.fontDpi();
const qreal dpi = std::max(76.0, option->fontMetrics.fontDpi());
const int arrowWidth = int(dpiScaled(14, dpi));
const int arrowHeight = int(dpiScaled(8, dpi));