misc: Few small fixes. (#2780)

* qt: Use PNG file for logo.

* build: Fix some CMake issues.
This commit is contained in:
squidbus
2025-04-13 12:10:24 -07:00
committed by GitHub
parent aec6e330dc
commit 14fad28a9b
6 changed files with 9 additions and 10 deletions

View File

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

View File

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