diff --git a/src/dialog/ContactsDialog.cpp b/src/dialog/ContactsDialog.cpp index 1471676d..99c6895a 100644 --- a/src/dialog/ContactsDialog.cpp +++ b/src/dialog/ContactsDialog.cpp @@ -25,12 +25,12 @@ ContactsDialog::ContactsDialog(QWidget *parent, const QString &address, const QS this->adjustSize(); } -ContactsDialog::~ContactsDialog() = default; - QString ContactsDialog::getAddress() { return m_address; } QString ContactsDialog::getName() { return m_name; -} \ No newline at end of file +} + +ContactsDialog::~ContactsDialog() = default; \ No newline at end of file diff --git a/src/dialog/PasswordChangeDialog.cpp b/src/dialog/PasswordChangeDialog.cpp index 5650f198..14c5e9d0 100644 --- a/src/dialog/PasswordChangeDialog.cpp +++ b/src/dialog/PasswordChangeDialog.cpp @@ -40,8 +40,6 @@ PasswordChangeDialog::PasswordChangeDialog(QWidget *parent, Wallet *wallet) this->adjustSize(); } -PasswordChangeDialog::~PasswordChangeDialog() = default; - void PasswordChangeDialog::passwordsMatch() { bool match = ui->lineEdit_newPassword->text() == ui->lineEdit_confirmPassword->text(); ui->btn_OK->setEnabled(match); @@ -66,4 +64,6 @@ void PasswordChangeDialog::setPassword() { else { QMessageBox::warning(this, "Error", QString("Error: %1").arg(m_wallet->errorString())); } -} \ No newline at end of file +} + +PasswordChangeDialog::~PasswordChangeDialog() = default; \ No newline at end of file diff --git a/src/dialog/QrCodeDialog.cpp b/src/dialog/QrCodeDialog.cpp index 3d0fb5dd..5cbc442b 100644 --- a/src/dialog/QrCodeDialog.cpp +++ b/src/dialog/QrCodeDialog.cpp @@ -27,8 +27,6 @@ QrCodeDialog::QrCodeDialog(QWidget *parent, const QrCode &qrCode, const QString this->adjustSize(); } -QrCodeDialog::~QrCodeDialog() = default; - void QrCodeDialog::setQrCode(const QrCode &qrCode) { m_pixmap = qrCode.toPixmap(1).scaled(500, 500, Qt::KeepAspectRatio); ui->QrCode->setPixmap(m_pixmap); @@ -49,4 +47,6 @@ void QrCodeDialog::saveImage() { file.open(QIODevice::WriteOnly); m_pixmap.save(&file, "PNG"); QMessageBox::information(this, "Information", "QR code saved to file"); -} \ No newline at end of file +} + +QrCodeDialog::~QrCodeDialog() = default; \ No newline at end of file diff --git a/src/dialog/TxProofDialog.cpp b/src/dialog/TxProofDialog.cpp index dae7ab31..5f154cb2 100644 --- a/src/dialog/TxProofDialog.cpp +++ b/src/dialog/TxProofDialog.cpp @@ -226,5 +226,4 @@ TxProof TxProofDialog::getProof() { return proof; } -TxProofDialog::~TxProofDialog() = default; - +TxProofDialog::~TxProofDialog() = default; \ No newline at end of file diff --git a/src/dialog/VerifyProofDialog.cpp b/src/dialog/VerifyProofDialog.cpp index 3c09e247..3f78cd1d 100644 --- a/src/dialog/VerifyProofDialog.cpp +++ b/src/dialog/VerifyProofDialog.cpp @@ -53,8 +53,6 @@ VerifyProofDialog::VerifyProofDialog(Wallet *wallet, QWidget *parent) ui->input_formattedProof->setFont(ModelUtils::getMonospaceFont()); } -VerifyProofDialog::~VerifyProofDialog() = default; - void VerifyProofDialog::checkProof() { switch (ui->tabWidget->currentIndex()) { case 0: @@ -170,4 +168,6 @@ void VerifyProofDialog::proofStatus(bool success, const QString &message) { success ? QMessageBox::information(this, "Information", message) : QMessageBox::warning(this, "Warning", message); } -} \ No newline at end of file +} + +VerifyProofDialog::~VerifyProofDialog() = default; \ No newline at end of file diff --git a/src/dialog/WalletInfoDialog.cpp b/src/dialog/WalletInfoDialog.cpp index 663d8c02..b84d1db9 100644 --- a/src/dialog/WalletInfoDialog.cpp +++ b/src/dialog/WalletInfoDialog.cpp @@ -27,10 +27,10 @@ WalletInfoDialog::WalletInfoDialog(QSharedPointer ctx, QWidget *pare this->adjustSize(); } -WalletInfoDialog::~WalletInfoDialog() = default; - void WalletInfoDialog::openWalletDir() { QFileInfo file(m_ctx->wallet->keysPath()); QDesktopServices::openUrl(QUrl(QString("file://%1").arg(file.absolutePath()), QUrl::TolerantMode)); -} \ No newline at end of file +} + +WalletInfoDialog::~WalletInfoDialog() = default; \ No newline at end of file