Dialogs: fix pointer format

This commit is contained in:
tobtoht 2021-06-27 16:35:49 +02:00
parent ef2f8092df
commit e40f8bbe1e
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C
4 changed files with 5 additions and 5 deletions

View file

@ -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)
{ {

View file

@ -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();

View file

@ -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);
} }

View file

@ -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;