switch to svg flags

master
Guillaume Castagnino 3 years ago
parent dc03d17639
commit 600b17bda2

@ -7,7 +7,7 @@ SystemTrayIcon {
/* initial mapping is ru */
property string lang: "ru"
icon.source: {
return "qrc:/images/" + lang + ".png"
return "qrc:/images/" + lang + ".svg"
}
menu: Menu {

@ -1,7 +1,7 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>fookb.qml</file>
<file>images/fr.png</file>
<file>images/ru.png</file>
<file>images/fr.svg</file>
<file>images/ru.svg</file>
</qresource>
</RCC>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 B

@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3 2">
<rect width="3" height="2" fill="#ED2939"/>
<rect width="2" height="2" fill="#fff"/>
<rect width="1" height="2" fill="#002395"/>
</svg>

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 383 B

@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
<rect fill="#fff" width="9" height="3"/>
<rect fill="#d52b1e" y="3" width="9" height="3"/>
<rect fill="#0039a6" y="2" width="9" height="2"/>
</svg>

After

Width:  |  Height:  |  Size: 207 B

Loading…
Cancel
Save