diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2020-03-03 13:12:55 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2020-03-03 13:33:28 +0300 |
commit | 90cdbe442ba144f58a379dc7dd59e236fce5f589 (patch) | |
tree | 8daa78be036bdf698489935698b006288bb9653a /src/gui/guiutility.h | |
parent | 7b75fe2c930a699eb6a8ea02646f626c042273ad (diff) |
[Gui] Apply createColorAwareIcon on more icons
Diffstat (limited to 'src/gui/guiutility.h')
-rw-r--r-- | src/gui/guiutility.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/guiutility.h b/src/gui/guiutility.h index 6e2c5f163..8ffd57baa 100644 --- a/src/gui/guiutility.h +++ b/src/gui/guiutility.h @@ -49,6 +49,9 @@ namespace Utility { /** Translated text for "free up local space" (and unpinning the item) */ QString vfsFreeSpaceActionText(); + /** Create bw icon with matching contrast for the current theme */ + QPixmap createColorAwareIcon(const QString &name, const QPalette &palette = QPalette()); + } // namespace Utility } // namespace OCC |