qt: Use PNG file for logo.

This commit is contained in:
squidbus 2025-04-13 11:17:37 -07:00
parent aec6e330dc
commit 35db6fc4c6
5 changed files with 4 additions and 3 deletions

View File

@ -57,6 +57,7 @@ path = [
"src/images/utils_icon.png", "src/images/utils_icon.png",
"src/images/shadPS4.icns", "src/images/shadPS4.icns",
"src/images/shadps4.ico", "src/images/shadps4.ico",
"src/images/shadps4.png",
"src/images/net.shadps4.shadPS4.svg", "src/images/net.shadps4.shadPS4.svg",
"src/images/themes_icon.png", "src/images/themes_icon.png",
"src/images/update_icon.png", "src/images/update_icon.png",

BIN
src/images/shadps4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@ -35,7 +35,7 @@
<string/> <string/>
</property> </property>
<property name="pixmap"> <property name="pixmap">
<pixmap>:/images/shadps4.svg</pixmap> <pixmap>:/images/shadps4.png</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.svg"); QPixmap pixmap(":/images/shadps4.png");
imageLabel->setPixmap(pixmap); imageLabel->setPixmap(pixmap);
imageLabel->setScaledContents(true); imageLabel->setScaledContents(true);
imageLabel->setFixedSize(50, 50); imageLabel->setFixedSize(50, 50);

View File

@ -1,7 +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/shadps4.png</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>