Skip to content

Commit d72758c

Browse files
committed
Merge #16677: gui: remove unused PlatformStyle::TextColorIcon
bca388d gui: remove unused PlatformStyle::TextColorIcon (fanquake) Pull request description: This is unused after #16612. ACKs for top commit: emilengler: Concept ACK bca388d practicalswift: ACK bca388d -- diff looks correct & less cruft is better hebasto: ACK bca388d, I have reviewed the code and it looks OK, I agree it can be merge. jonasschnelli: utACK bca388d Tree-SHA512: ae5c5cfc02cf2e6f138e75e227320f4c430b93bd529a8ead7ba971ceb5bbc997cdb721c6fd8a46a5a897008f0bc6e519422d6beef240b9d2e28ecf4f8cbbcc6a
2 parents 43eaf76 + bca388d commit d72758c

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/qt/platformstyle.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,6 @@ QIcon PlatformStyle::SingleColorIcon(const QIcon& icon) const
114114
return ColorizeIcon(icon, SingleColor());
115115
}
116116

117-
QIcon PlatformStyle::TextColorIcon(const QString& filename) const
118-
{
119-
return ColorizeIcon(filename, TextColor());
120-
}
121-
122117
QIcon PlatformStyle::TextColorIcon(const QIcon& icon) const
123118
{
124119
return ColorizeIcon(icon, TextColor());

src/qt/platformstyle.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ class PlatformStyle
3333
/** Colorize an icon (given object) with the icon color */
3434
QIcon SingleColorIcon(const QIcon& icon) const;
3535

36-
/** Colorize an icon (given filename) with the text color */
37-
QIcon TextColorIcon(const QString& filename) const;
38-
3936
/** Colorize an icon (given object) with the text color */
4037
QIcon TextColorIcon(const QIcon& icon) const;
4138

0 commit comments

Comments
 (0)