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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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);