Skip to content

Commit dd18954

Browse files
committed
Embed opaque images as JPEG
1 parent 46119ef commit dd18954

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

main.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ ApplicationWindow {
5252
Image {
5353
width: parent.width
5454
height: parent.height
55-
source: "qrc:/resources/background.png"
55+
source: "qrc:/resources/background.jpg"
5656
}
5757

5858
Rectangle {
@@ -70,7 +70,7 @@ ApplicationWindow {
7070
top: parent.top
7171
topMargin: parent.height * 0.1
7272
}
73-
source: "qrc:/resources/header.png"
73+
source: "qrc:/resources/header.jpg"
7474
}
7575
Rectangle {
7676
anchors.top: header.bottom

qml.qrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
<file>NewsCard.qml</file>
99
<file>DownloadInfo.qml</file>
1010
<file>UpdateFailed.qml</file>
11-
<file>resources/splash.png</file>
11+
<file>resources/splash.jpg</file>
1212
<file>splash.qml</file>
1313
<file>Settings.qml</file>
1414
<file>utils.js</file>
1515
<file>resources/unvanquished.png</file>
16-
<file>resources/background.png</file>
17-
<file>resources/header.png</file>
16+
<file>resources/background.jpg</file>
17+
<file>resources/header.jpg</file>
1818
<file>resources/logo.png</file>
1919
<file>resources/tyrant.png</file>
2020
<file>resources/net.unvanquished.Unvanquished.desktop</file>

resources/background.jpg

21.3 KB
Loading

resources/header.jpg

15.2 KB
Loading

resources/splash.jpg

31.8 KB
Loading

splash.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ ApplicationWindow {
106106
Image {
107107
width: parent.width
108108
height: parent.height
109-
source: "qrc:/resources/splash.png"
109+
source: "qrc:/resources/splash.jpg"
110110
}
111111

112112
FluidControls.BodyLabel {

0 commit comments

Comments
 (0)