Fix misc compiler warnings

This commit is contained in:
tobtoht
2021-05-10 15:20:33 +02:00
parent f948a71e73
commit b9995c44ec
42 changed files with 63 additions and 66 deletions
+2 -2
View File
@@ -34,6 +34,8 @@ signals:
private:
void setStatus(const QString &msg, bool success = false);
Ui::UpdateDialog *ui;
QString m_version;
QString m_downloadUrl;
QString m_hash;
@@ -44,8 +46,6 @@ private:
std::string m_updateZipArchive;
QNetworkReply *m_reply = nullptr;
Ui::UpdateDialog *ui;
};
#endif //FEATHER_UPDATEDIALOG_H
+1 -1
View File
@@ -9,8 +9,8 @@
WalletCacheDebugDialog::WalletCacheDebugDialog(AppContext *ctx, QWidget *parent)
: QDialog(parent)
, m_ctx(ctx)
, ui(new Ui::WalletCacheDebugDialog)
, m_ctx(ctx)
{
ui->setupUi(this);
+1 -1
View File
@@ -21,8 +21,8 @@ public:
~AboutDialog() override;
private:
QStringListModel *m_model;
Ui::AboutDialog *ui;
QStringListModel *m_model;
};
#endif // ABOUT_H
+1 -1
View File
@@ -9,8 +9,8 @@
BroadcastTxDialog::BroadcastTxDialog(QWidget *parent, AppContext *ctx, const QString &transactionHex)
: QDialog(parent)
, m_ctx(ctx)
, ui(new Ui::BroadcastTxDialog)
, m_ctx(ctx)
{
ui->setupUi(this);
+1 -1
View File
@@ -26,8 +26,8 @@ private slots:
private:
Ui::BroadcastTxDialog *ui;
UtilsNetworking *m_network;
AppContext *m_ctx;
UtilsNetworking *m_network;
DaemonRpc *m_rpc;
};
+2 -2
View File
@@ -25,10 +25,10 @@ private:
void copyToClipboad();
void updateInfo();
QTimer m_updateTimer;
Ui::DebugInfoDialog *ui;
AppContext *m_ctx;
Ui::DebugInfoDialog *ui;
QTimer m_updateTimer;
};
#endif //FEATHER_DEBUGINFODIALOG_H
+1 -1
View File
@@ -32,8 +32,8 @@ signals:
void rejected();
private:
AppContext *m_ctx;
Ui::RestoreDialog *ui;
AppContext *m_ctx;
};
#endif // RESTOREDIALOG_H
+1 -1
View File
@@ -9,8 +9,8 @@
SignVerifyDialog::SignVerifyDialog(Wallet *wallet, QWidget *parent)
: QDialog(parent)
, m_wallet(wallet)
, ui(new Ui::SignVerifyDialog)
, m_wallet(wallet)
{
ui->setupUi(this);
+2 -2
View File
@@ -35,9 +35,9 @@ private:
Ui::TransactionInfoDialog *ui;
TxProofDialog *m_txProofDialog;
TransactionInfo *m_txInfo;
Wallet *m_wallet;
TransactionInfo *m_txInfo;
TxProofDialog *m_txProofDialog;
QString m_txKey;
QString m_txid;
QTimer m_updateTimer;
+1 -1
View File
@@ -9,9 +9,9 @@
TxImportDialog::TxImportDialog(QWidget *parent, AppContext *ctx)
: QDialog(parent)
, ui(new Ui::TxImportDialog)
, m_ctx(ctx)
, m_loadTimer(new QTimer(this))
, ui(new Ui::TxImportDialog)
{
ui->setupUi(this);
ui->resp->hide();
+2 -1
View File
@@ -27,8 +27,9 @@ private slots:
private:
Ui::TxImportDialog *ui;
UtilsNetworking *m_network;
AppContext *m_ctx;
UtilsNetworking *m_network;
DaemonRpc *m_rpc;
QTimer *m_loadTimer;
+1 -1
View File
@@ -11,8 +11,8 @@
VerifyProofDialog::VerifyProofDialog(Wallet *wallet, QWidget *parent)
: QDialog(parent)
, m_wallet(wallet)
, ui(new Ui::VerifyProofDialog)
, m_wallet(wallet)
{
ui->setupUi(this);
+3 -3
View File
@@ -31,11 +31,11 @@ private:
void checkFormattedProof();
void proofStatus(bool success, const QString &message);
QPixmap m_success;
QPixmap m_failure;
Ui::VerifyProofDialog *ui;
Wallet *m_wallet;
QPixmap m_success;
QPixmap m_failure;
};
#endif //FEATHER_VERIFYPROOFDIALOG_H