]> cloud.milkyroute.net Git - dolphin.git/commit
fix padding in places view
authorHarald Sitter <sitter@kde.org>
Mon, 19 Apr 2021 10:39:00 +0000 (12:39 +0200)
committerHarald Sitter <sitter@kde.org>
Mon, 19 Apr 2021 16:07:50 +0000 (16:07 +0000)
commit56888a567fc741713b6c905aeed3842a7fa230c7
treef6dec4aabc988f9dfc0e88e225572aa505fbc2e9
parent61b2e2fd5e36e486b498a2ae78ce878ce19e6298
fix padding in places view

padding was only applied when the icon size was applied, the icon size
however is only applied when the user had set an explicit size. this
resulted in inconsistent spacing. by default no padding would be used if
the user had changed the icon size to medium and back to small it would
suddenly have padding.

to fix this, set padding unconditionally on construction and never touch
it again .

BUG: 435731
src/panels/places/placesview.cpp