|
|
@ -441,6 +441,9 @@ void MainWindow::closeEventpw(QCloseEvent* event) { |
|
|
|
} else { |
|
|
|
qDebug() << __func__ << ": invalid rpc object!"; |
|
|
|
} |
|
|
|
|
|
|
|
// Close the app
|
|
|
|
this->close(); |
|
|
|
} |
|
|
|
|
|
|
|
void MainWindow::encryptWallet() { |
|
|
@ -471,8 +474,7 @@ void MainWindow::encryptWallet() { |
|
|
|
QObject::connect(ed.txtConfirmPassword, &QLineEdit::textChanged, fnPasswordEdited); |
|
|
|
QObject::connect(ed.txtPassword, &QLineEdit::textChanged, fnPasswordEdited); |
|
|
|
|
|
|
|
if (d.exec() == QDialog::Accepted) |
|
|
|
{ |
|
|
|
if (d.exec() == QDialog::Accepted) { |
|
|
|
|
|
|
|
QString passphraseBlank = ed.txtPassword->text(); // data comes from user inputs
|
|
|
|
QString passphrase = QString("HUSH3") + passphraseBlank + QString("SDL"); |
|
|
@ -648,8 +650,7 @@ void MainWindow::removeWalletEncryptionStartUp() { |
|
|
|
cl->loadConnection(); |
|
|
|
}); |
|
|
|
|
|
|
|
if (d.exec() == QDialog::Accepted) |
|
|
|
{ |
|
|
|
if (d.exec() == QDialog::Accepted) { |
|
|
|
QString passphraseBlank = ed.txtPassword->text(); // data comes from user inputs
|
|
|
|
|
|
|
|
QString passphrase = QString("HUSH3") + passphraseBlank + QString("SDL"); |
|
|
|