Skip to content

Commit 6480cfe

Browse files
committed
qml: Introduce minus icon
1 parent 67150ef commit 6480cfe

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
@@ -77,6 +77,7 @@
7777
<file alias="export">res/icons/export.png</file>
7878
<file alias="gear">res/icons/gear.png</file>
7979
<file alias="info">res/icons/info.png</file>
80+
<file alias="minus">res/icons/minus.png</file>
8081
<file alias="network-dark">res/icons/network-dark.png</file>
8182
<file alias="network-light">res/icons/network-light.png</file>
8283
<file alias="shutdown">res/icons/shutdown.png</file>

src/qml/imageprovider.cpp

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

100+
if (id == "minus") {
101+
*size = requested_size;
102+
return QIcon(":/icons/minus").pixmap(requested_size);
103+
}
104+
100105
if (id == "network-dark") {
101106
*size = requested_size;
102107
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)