Skip to content

Commit bef69da

Browse files
committed
qml: Introduce gear-outline icon
This icon is used in the navigation bar in Wallet mode
1 parent f7470ce commit bef69da

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

src/Makefile.qt.include

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ QML_RES_ICONS = \
329329
qml/res/icons/cross.png \
330330
qml/res/icons/export.png \
331331
qml/res/icons/gear.png \
332+
qml/res/icons/gear-outline.png \
332333
qml/res/icons/info.png \
333334
qml/res/icons/network-dark.png \
334335
qml/res/icons/network-light.png \

src/qml/bitcoin_qml.qrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
<file alias="cross">res/icons/cross.png</file>
7979
<file alias="export">res/icons/export.png</file>
8080
<file alias="gear">res/icons/gear.png</file>
81+
<file alias="gear-outline">res/icons/gear-outline.png</file>
8182
<file alias="info">res/icons/info.png</file>
8283
<file alias="network-dark">res/icons/network-dark.png</file>
8384
<file alias="network-light">res/icons/network-light.png</file>

src/qml/imageprovider.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ QPixmap ImageProvider::requestPixmap(const QString& id, QSize* size, const QSize
9292
return QIcon(":/icons/gear").pixmap(requested_size);
9393
}
9494

95+
if (id == "gear-outline") {
96+
*size = requested_size;
97+
return QIcon(":/icons/gear-outline").pixmap(requested_size);
98+
}
99+
95100
if (id == "info") {
96101
*size = requested_size;
97102
return QIcon(":/icons/info").pixmap(requested_size);

src/qml/res/icons/gear-outline.png

4.33 KB
Loading

src/qml/res/src/gear-outline.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)