mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
d6068e0316
commit
5160369cb4
@ -87,7 +87,7 @@ static void draw_arrow(Qt::ArrowType type, QPainter *painter, const QStyleOption
|
|||||||
if (rect.isEmpty())
|
if (rect.isEmpty())
|
||||||
return;
|
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 arrowWidth = int(dpiScaled(14, dpi));
|
||||||
const int arrowHeight = int(dpiScaled(8, dpi));
|
const int arrowHeight = int(dpiScaled(8, dpi));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user