mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-18 15:51:34 +02:00
refactor: consolidate wallet_api into libwalletqt [1/?]
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include "TransactionHistoryProxyModel.h"
|
||||
#include "TransactionHistoryModel.h"
|
||||
|
||||
#include "libwalletqt/TransactionInfo.h"
|
||||
#include "libwalletqt/rows/TransactionRow.h"
|
||||
|
||||
TransactionHistoryProxyModel::TransactionHistoryProxyModel(Wallet *wallet, QObject *parent)
|
||||
: QSortFilterProxyModel(parent)
|
||||
@@ -25,7 +25,7 @@ bool TransactionHistoryProxyModel::filterAcceptsRow(int sourceRow, const QModelI
|
||||
quint32 subaddrAccount;
|
||||
QSet<quint32> subaddrIndex;
|
||||
|
||||
m_history->transaction(sourceRow, [&description, &txid, &subaddrlabel, &subaddrAccount, &subaddrIndex](TransactionInfo &tInfo){
|
||||
m_history->transaction(sourceRow, [&description, &txid, &subaddrlabel, &subaddrAccount, &subaddrIndex](TransactionRow &tInfo){
|
||||
description = tInfo.description();
|
||||
txid = tInfo.hash();
|
||||
subaddrlabel = tInfo.label();
|
||||
|
||||
Reference in New Issue
Block a user