gui: remove unused PlatformStyle::TextColorIcon

This is unused after #16612.
This commit is contained in:
fanquake 2019-08-22 14:50:21 +08:00
parent 6dfa9efa3f
commit bca388db0d
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1
2 changed files with 0 additions and 8 deletions

View file

@ -114,11 +114,6 @@ QIcon PlatformStyle::SingleColorIcon(const QIcon& icon) const
return ColorizeIcon(icon, SingleColor()); return ColorizeIcon(icon, SingleColor());
} }
QIcon PlatformStyle::TextColorIcon(const QString& filename) const
{
return ColorizeIcon(filename, TextColor());
}
QIcon PlatformStyle::TextColorIcon(const QIcon& icon) const QIcon PlatformStyle::TextColorIcon(const QIcon& icon) const
{ {
return ColorizeIcon(icon, TextColor()); return ColorizeIcon(icon, TextColor());

View file

@ -33,9 +33,6 @@ public:
/** Colorize an icon (given object) with the icon color */ /** Colorize an icon (given object) with the icon color */
QIcon SingleColorIcon(const QIcon& icon) const; QIcon SingleColorIcon(const QIcon& icon) const;
/** Colorize an icon (given filename) with the text color */
QIcon TextColorIcon(const QString& filename) const;
/** Colorize an icon (given object) with the text color */ /** Colorize an icon (given object) with the text color */
QIcon TextColorIcon(const QIcon& icon) const; QIcon TextColorIcon(const QIcon& icon) const;