Skip to content

Commit 052b5be

Browse files
committed
qml: Introduce minus icon
1 parent 84c4372 commit 052b5be

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

src/qml/bitcoin_qml.qrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
<file alias="gear-outline">res/icons/gear-outline.png</file>
9797
<file alias="hidden">res/icons/hidden.png</file>
9898
<file alias="info">res/icons/info.png</file>
99+
<file alias="minus">res/icons/minus.png</file>
99100
<file alias="network-dark">res/icons/network-dark.png</file>
100101
<file alias="network-light">res/icons/network-light.png</file>
101102
<file alias="plus">res/icons/plus.png</file>

src/qml/imageprovider.cpp

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

110+
if (id == "minus") {
111+
*size = requested_size;
112+
return QIcon(":/icons/minus").pixmap(requested_size);
113+
}
114+
110115
if (id == "network-dark") {
111116
*size = requested_size;
112117
return QIcon(":/icons/network-dark").pixmap(requested_size);

src/qml/res/icons/minus.png

605 Bytes
Loading

src/qml/res/src/minus.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)