Skip to content

Commit d556c93

Browse files
committed
qml: Introduce singlesig-wallet icon
1 parent bef69da commit d556c93

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
@@ -334,6 +334,7 @@ QML_RES_ICONS = \
334334
qml/res/icons/network-dark.png \
335335
qml/res/icons/network-light.png \
336336
qml/res/icons/shutdown.png \
337+
qml/res/icons/singlesig-wallet.png \
337338
qml/res/icons/storage-dark.png \
338339
qml/res/icons/storage-light.png
339340

src/qml/bitcoin_qml.qrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
<file alias="network-dark">res/icons/network-dark.png</file>
8484
<file alias="network-light">res/icons/network-light.png</file>
8585
<file alias="shutdown">res/icons/shutdown.png</file>
86+
<file alias="singlesig-wallet">res/icons/singlesig-wallet.png</file>
8687
<file alias="storage-dark">res/icons/storage-dark.png</file>
8788
<file alias="storage-light">res/icons/storage-light.png</file>
8889
</qresource>

src/qml/imageprovider.cpp

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

120+
if (id == "singlesig-wallet") {
121+
*size = requested_size;
122+
return QIcon(":/icons/singlesig-wallet").pixmap(requested_size);
123+
}
124+
120125
if (id == "storage-dark") {
121126
*size = requested_size;
122127
return QIcon(":/icons/storage-dark").pixmap(requested_size);
1.87 KB
Loading

src/qml/res/src/singlesig-wallet.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)