Skip to content
Commit c1e658c7 authored by Ismael Asensio's avatar Ismael Asensio Committed by David Faure
Browse files

[filewidgets] Fix KUrlNavigatorButton padding on breadcrumb

Use `QFontMetrics::size(Qt::SingleLine, text).width()` instead of
`QFontMetrics::boundingRect(text).width()`. As suggested by @dfaure, from an
empiric point of view, this seems to be a better replacement for
`QFontMetrics::width()` when applied to strings than the other two alternatives.

See also system/dolphin!22

BUG: 425570
FIXED-IN: 5.74
parent 73d89373
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment