mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 22:44:56 -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user