mirror of
https://github.com/wownero/wowlet.git
synced 2026-11-15 12:44:04 +01:00
History: cleanup
This commit is contained in:
@@ -90,18 +90,17 @@ quint64 PendingTransaction::weight(int index) const
|
||||
return m_pimpl->weight(index);
|
||||
}
|
||||
|
||||
PendingTransactionInfo * PendingTransaction::transaction(int index) const {
|
||||
const PendingTransactionInfo& PendingTransaction::transaction(int index) const {
|
||||
return m_pending_tx_info[index];
|
||||
}
|
||||
|
||||
void PendingTransaction::refresh()
|
||||
{
|
||||
qDeleteAll(m_pending_tx_info);
|
||||
m_pending_tx_info.clear();
|
||||
|
||||
m_pimpl->refresh();
|
||||
for (const auto i : m_pimpl->getAll()) {
|
||||
m_pending_tx_info.append(new PendingTransactionInfo(i, this));
|
||||
m_pending_tx_info.emplace_back(i);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user