mirror of
https://github.com/YACReader/yacreader
synced 2025-07-23 07:24:58 -04:00
no more color highlight on sidebar icons ^_^
This commit is contained in:
@ -58,3 +58,13 @@ QString YACReader::colorToName(LabelColors colors)
|
||||
return "dark";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
QIcon YACReader::noHighlightedIcon(const QString &path)
|
||||
{
|
||||
QPixmap p(path);
|
||||
QIcon icon;
|
||||
icon.addPixmap(p,QIcon::Normal);
|
||||
icon.addPixmap(p,QIcon::Selected);
|
||||
return icon;
|
||||
}
|
||||
|
@ -131,6 +131,7 @@ QString getSettingsPath();
|
||||
void addSperator(QWidget * w);
|
||||
QAction * createSeparator();
|
||||
QString colorToName(LabelColors colors);
|
||||
QIcon noHighlightedIcon(const QString & path);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user