]> cloud.milkyroute.net Git - dolphin.git/commit
DolphinStatusbar: Fix background and margins for non-Breeze styles
authorAkseli Lahtinen <akselmo@akselmo.dev>
Tue, 22 Apr 2025 13:52:50 +0000 (16:52 +0300)
committerAkseli Lahtinen <akselmo@akselmo.dev>
Tue, 22 Apr 2025 13:52:50 +0000 (16:52 +0300)
commit5d9051bba36c8690a622591b1164158f526a9f12
treee1715162eb9203f65cb7cfb45ca3180986b3d051
parentb7bafd21ebf6b337d7e110141a3e91c3c7ecf445
DolphinStatusbar: Fix background and margins for non-Breeze styles

There is a bug where non-Breeze styles, such as fusion, do not always have
background color for the small statusbar.
There is also a bug that made the statusbar too small for other themes.

This patch makes us always draw a background, and uses marginLeft and marginRight from QStyle.
src/statusbar/dolphinstatusbar.cpp