Skip to content

Commit

Permalink
Update tx icons
Browse files Browse the repository at this point in the history
  • Loading branch information
AxVultis committed Feb 17, 2024
1 parent 8f10f0e commit 36d1441
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/gui/TransactionsModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ namespace WalletGui
case TransactionsModel::TransactionType::INOUT:
return QPixmap(":icons/tx-inout");
case TransactionsModel::TransactionType::DEPOSIT:
case TransactionsModel::TransactionType::DEPOSIT_UNLOCK:
return QPixmap(":icons/tx-deposit");
case TransactionsModel::TransactionType::DEPOSIT_UNLOCK:
return QPixmap(":icons/tx-withdraw");
default:
break;
}
Expand Down Expand Up @@ -370,8 +371,6 @@ namespace WalletGui
return QPixmap(":icons/clock5");
default:
QPixmap icon = _index.data(ROLE_ICON).value<QPixmap>();
QPainter painter(&icon);
painter.drawPixmap(0, 0, QPixmap(":icons/transaction"));
return icon;
}
}
Expand Down
Binary file modified src/icons/tx_deposit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/icons/tx_inout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/icons/tx_input.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/icons/tx_mined.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/icons/tx_output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/icons/tx_withdraw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/resources.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<file alias="tx-output">icons/tx_output.png</file>
<file alias="tx-inout">icons/tx_inout.png</file>
<file alias="tx-deposit">icons/tx_deposit.png</file>
<file alias="tx-withdraw">icons/tx_withdraw.png</file>
<!-- Title icons -->
<file alias="icon-address">icons/icon-address.png</file>
<file alias="icon-banking">icons/icon-banking.png</file>
Expand Down

0 comments on commit 36d1441

Please sign in to comment.