mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 14:39:01 +01:00
Fix HiDPI loading logic.
This commit is contained in:
parent
a5cfe85c8d
commit
726b50e06e
@ -84,7 +84,8 @@ QString Resources::GetImageFilename(QString name, QString dir)
|
|||||||
{
|
{
|
||||||
if (qApp->devicePixelRatio() >= 2)
|
if (qApp->devicePixelRatio() >= 2)
|
||||||
{
|
{
|
||||||
QString fileName = name.prepend(dir).append(SL("@2x.png"));
|
QString fileName = name;
|
||||||
|
fileName.prepend(dir).append(SL("@2x.png"));
|
||||||
if (QFile::exists(fileName))
|
if (QFile::exists(fileName))
|
||||||
return fileName;
|
return fileName;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user