mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
Fix HiDPI loading logic.
This commit is contained in:
parent
a5cfe85c8d
commit
726b50e06e
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue