mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-22 18:54:33 +00:00
Dialogs: fix pointer format
This commit is contained in:
parent
ef2f8092df
commit
e40f8bbe1e
4 changed files with 5 additions and 5 deletions
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
#include "libwalletqt/WalletManager.h"
|
#include "libwalletqt/WalletManager.h"
|
||||||
|
|
||||||
OutputSweepDialog::OutputSweepDialog(QWidget *parent, CoinsInfo* coin)
|
OutputSweepDialog::OutputSweepDialog(QWidget *parent, CoinsInfo *coin)
|
||||||
: QDialog(parent)
|
: QDialog(parent)
|
||||||
, ui(new Ui::OutputSweepDialog)
|
, ui(new Ui::OutputSweepDialog)
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,7 +17,7 @@ class OutputSweepDialog : public QDialog
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit OutputSweepDialog(QWidget *parent, CoinsInfo* coin);
|
explicit OutputSweepDialog(QWidget *parent, CoinsInfo *coin);
|
||||||
~OutputSweepDialog() override;
|
~OutputSweepDialog() override;
|
||||||
|
|
||||||
QString address();
|
QString address();
|
||||||
|
|
|
@ -76,7 +76,7 @@ TxInfoDialog::TxInfoDialog(QSharedPointer<AppContext> ctx, TransactionInfo *txIn
|
||||||
this->adjustSize();
|
this->adjustSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
void TxInfoDialog::setData(TransactionInfo* tx) {
|
void TxInfoDialog::setData(TransactionInfo *tx) {
|
||||||
QString blockHeight = QString::number(tx->blockHeight());
|
QString blockHeight = QString::number(tx->blockHeight());
|
||||||
|
|
||||||
if (tx->isFailed()) {
|
if (tx->isFailed()) {
|
||||||
|
@ -119,7 +119,7 @@ void TxInfoDialog::setData(TransactionInfo* tx) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void TxInfoDialog::updateData() {
|
void TxInfoDialog::updateData() {
|
||||||
TransactionInfo* tx = m_ctx->wallet->history()->transaction(m_txid);
|
TransactionInfo *tx = m_ctx->wallet->history()->transaction(m_txid);
|
||||||
if (!tx) return;
|
if (!tx) return;
|
||||||
this->setData(tx);
|
this->setData(tx);
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,7 @@ signals:
|
||||||
private:
|
private:
|
||||||
void copyTxKey();
|
void copyTxKey();
|
||||||
void createTxProof();
|
void createTxProof();
|
||||||
void setData(TransactionInfo* tx);
|
void setData(TransactionInfo *tx);
|
||||||
void updateData();
|
void updateData();
|
||||||
|
|
||||||
QScopedPointer<Ui::TxInfoDialog> ui;
|
QScopedPointer<Ui::TxInfoDialog> ui;
|
||||||
|
|
Loading…
Reference in a new issue