hotfix: Fix logo resolution in Qt UI.

This commit is contained in:
squidbus 2025-04-12 21:13:04 -07:00
parent b0fe1532f7
commit 8ed82712a0
3 changed files with 3 additions and 2 deletions

View file

@ -35,7 +35,7 @@
<string/> <string/>
</property> </property>
<property name="pixmap"> <property name="pixmap">
<pixmap>:/images/shadps4.ico</pixmap> <pixmap>:/images/shadps4.svg</pixmap>
</property> </property>
<property name="scaledContents"> <property name="scaledContents">
<bool>true</bool> <bool>true</bool>

View file

@ -188,7 +188,7 @@ void CheckUpdate::setupUI(const QString& downloadUrl, const QString& latestDate,
QHBoxLayout* titleLayout = new QHBoxLayout(); QHBoxLayout* titleLayout = new QHBoxLayout();
QLabel* imageLabel = new QLabel(this); QLabel* imageLabel = new QLabel(this);
QPixmap pixmap(":/images/shadps4.ico"); QPixmap pixmap(":/images/shadps4.svg");
imageLabel->setPixmap(pixmap); imageLabel->setPixmap(pixmap);
imageLabel->setScaledContents(true); imageLabel->setScaledContents(true);
imageLabel->setFixedSize(50, 50); imageLabel->setFixedSize(50, 50);

View file

@ -1,6 +1,7 @@
<RCC> <RCC>
<qresource prefix="/"> <qresource prefix="/">
<file>images/shadps4.ico</file> <file>images/shadps4.ico</file>
<file>images/shadps4.svg</file>
<file>images/about_icon.png</file> <file>images/about_icon.png</file>
<file>images/dump_icon.png</file> <file>images/dump_icon.png</file>
<file>images/play_icon.png</file> <file>images/play_icon.png</file>