mirror of
https://github.com/YACReader/yacreader
synced 2025-07-23 07:24:58 -04:00
fixed some retina issues
This commit is contained in:
@ -63,9 +63,10 @@ QString YACReader::colorToName(LabelColors colors)
|
||||
QIcon YACReader::noHighlightedIcon(const QString &path)
|
||||
{
|
||||
QPixmap p(path);
|
||||
QIcon icon;
|
||||
icon.addPixmap(p,QIcon::Normal);
|
||||
icon.addPixmap(p,QIcon::Selected);
|
||||
|
||||
QIcon icon;//(path);
|
||||
icon.addFile(path,p.size(),QIcon::Normal);
|
||||
icon.addFile(path,p.size(),QIcon::Selected);
|
||||
return icon;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user