diff options
| author | Bojidar Marinov <[email protected]> | 2025-06-23 15:26:49 +0300 |
|---|---|---|
| committer | Bojidar Marinov <[email protected]> | 2025-06-23 15:26:49 +0300 |
| commit | aba0de7301b060c40d543adbaa8d53cf69a9d7ee (patch) | |
| tree | bba3bc2ddc0f42e8b12c1943443bb41b929daeb2 /src/dolphinnewfilemenu.cpp | |
| parent | f9d94fcb36b2cd1c39a5b0371986d7cbbd5e6b47 (diff) | |
Fix file names overflowing after text eliding
When QFontMetrics::boundingRect().width was replaced with QFontMetrics::horizontalAdvance() in 76a46fd9094b17eb99e8a42cca8562fdc0b3814c, an extra line (formerly introduced by a203c271161ce953354b9e0722492605a4d17415) was changed as well.
Unfortunately, boundingRect().width is the correct function to use for calculating the size of the last line, while horizontalAdvance would be correct if we were laying it next to the previous line instead of below the previous line.
BUG: 432530
Diffstat (limited to 'src/dolphinnewfilemenu.cpp')
0 files changed, 0 insertions, 0 deletions
