D16353: Change color(NegativeBackground) of status bar in space info when storage exceeds 90%

Christoph Feck noreply at phabricator.kde.org
Tue Oct 23 15:27:47 BST 2018


cfeck added a comment.


  Bonus points if you only change the palette when crossing the 90% mark, not on every change.

INLINE COMMENTS

> statusbarspaceinfo.cpp:28
>  #include <knewstuff_version.h>
> +#include <kcolorscheme.h>
>  

`#include <KColorScheme>' (and move above the KLocalizedString, we (sometimes) try to keep includes alphabetical)

> statusbarspaceinfo.cpp:117
> +        }
> +        else {
> +            p.setBrush(QPalette::Highlight, colorScheme.background(KColorScheme::NormalBackground));

`} else {`

REPOSITORY
  R318 Dolphin

REVISION DETAIL
  https://phabricator.kde.org/D16353

To: sourabhboss, ngraham, pino, elvisangelaccio, #dolphin
Cc: cfeck, kfm-devel, sourabhboss, feverfew, spoorun, navarromorales, firef, andrebarros, emmanuelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20181023/a21a1262/attachment.htm>


More information about the kfm-devel mailing list