From e40f8bbe1e2e76c9e345b06533cfc94042ea64df Mon Sep 17 00:00:00 2001 From: tobtoht Date: Sun, 27 Jun 2021 16:35:49 +0200 Subject: [PATCH] Dialogs: fix pointer format --- src/dialog/OutputSweepDialog.cpp | 2 +- src/dialog/OutputSweepDialog.h | 2 +- src/dialog/TxInfoDialog.cpp | 4 ++-- src/dialog/TxInfoDialog.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dialog/OutputSweepDialog.cpp b/src/dialog/OutputSweepDialog.cpp index 9babba4..0bb1c58 100644 --- a/src/dialog/OutputSweepDialog.cpp +++ b/src/dialog/OutputSweepDialog.cpp @@ -6,7 +6,7 @@ #include "libwalletqt/WalletManager.h" -OutputSweepDialog::OutputSweepDialog(QWidget *parent, CoinsInfo* coin) +OutputSweepDialog::OutputSweepDialog(QWidget *parent, CoinsInfo *coin) : QDialog(parent) , ui(new Ui::OutputSweepDialog) { diff --git a/src/dialog/OutputSweepDialog.h b/src/dialog/OutputSweepDialog.h index 2511854..d5c9101 100644 --- a/src/dialog/OutputSweepDialog.h +++ b/src/dialog/OutputSweepDialog.h @@ -17,7 +17,7 @@ class OutputSweepDialog : public QDialog Q_OBJECT public: - explicit OutputSweepDialog(QWidget *parent, CoinsInfo* coin); + explicit OutputSweepDialog(QWidget *parent, CoinsInfo *coin); ~OutputSweepDialog() override; QString address(); diff --git a/src/dialog/TxInfoDialog.cpp b/src/dialog/TxInfoDialog.cpp index fe0877d..8a115d9 100644 --- a/src/dialog/TxInfoDialog.cpp +++ b/src/dialog/TxInfoDialog.cpp @@ -76,7 +76,7 @@ TxInfoDialog::TxInfoDialog(QSharedPointer ctx, TransactionInfo *txIn this->adjustSize(); } -void TxInfoDialog::setData(TransactionInfo* tx) { +void TxInfoDialog::setData(TransactionInfo *tx) { QString blockHeight = QString::number(tx->blockHeight()); if (tx->isFailed()) { @@ -119,7 +119,7 @@ void TxInfoDialog::setData(TransactionInfo* tx) { } void TxInfoDialog::updateData() { - TransactionInfo* tx = m_ctx->wallet->history()->transaction(m_txid); + TransactionInfo *tx = m_ctx->wallet->history()->transaction(m_txid); if (!tx) return; this->setData(tx); } diff --git a/src/dialog/TxInfoDialog.h b/src/dialog/TxInfoDialog.h index 70ced7b..d9b3aab 100644 --- a/src/dialog/TxInfoDialog.h +++ b/src/dialog/TxInfoDialog.h @@ -29,7 +29,7 @@ signals: private: void copyTxKey(); void createTxProof(); - void setData(TransactionInfo* tx); + void setData(TransactionInfo *tx); void updateData(); QScopedPointer ui;