mirror of
https://github.com/wownero/wowlet.git
synced 2026-11-29 19:43:58 +01:00
Fix misc compiler warnings
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@ public:
|
||||
~AboutDialog() override;
|
||||
|
||||
private:
|
||||
QStringListModel *m_model;
|
||||
Ui::AboutDialog *ui;
|
||||
QStringListModel *m_model;
|
||||
};
|
||||
|
||||
#endif // ABOUT_H
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -26,8 +26,8 @@ private slots:
|
||||
|
||||
private:
|
||||
Ui::BroadcastTxDialog *ui;
|
||||
UtilsNetworking *m_network;
|
||||
AppContext *m_ctx;
|
||||
UtilsNetworking *m_network;
|
||||
DaemonRpc *m_rpc;
|
||||
};
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -32,8 +32,8 @@ signals:
|
||||
void rejected();
|
||||
|
||||
private:
|
||||
AppContext *m_ctx;
|
||||
Ui::RestoreDialog *ui;
|
||||
AppContext *m_ctx;
|
||||
};
|
||||
|
||||
#endif // RESTOREDIALOG_H
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user