]> cloud.milkyroute.net Git - dolphin.git/commit
Turn free space label into a flat button
authorFelix Ernst <felixernst@zohomail.eu>
Sat, 18 Nov 2023 11:31:00 +0000 (12:31 +0100)
committerFelix Ernst <felixernst@kde.org>
Fri, 24 Nov 2023 11:52:54 +0000 (11:52 +0000)
commitd3637f380ccca26a281331a02ce76ed60e84cfe3
tree82f998010a89bb37bd6fbb88695c284666f85484
parente8fcef32b25b847e997df3a8232eb20980989794
Turn free space label into a flat button

The usage of a label to show this space information is problematic
because there are features/actions hidden behind clicking the
label. A button makes this clear. It also fixes the accessibility
of this control because previously this info would never be read
out by screen readers as it couldn't get keyboard focus.

A side-effect of this change is that the free disk space bar looks
more normal with non-Breeze styles. This had been a long-standing
issue.
src/statusbar/dolphinstatusbar.cpp
src/statusbar/dolphinstatusbar.h
src/statusbar/statusbarspaceinfo.cpp
src/statusbar/statusbarspaceinfo.h