Skip to content

Commit

Permalink
Remove unnecessary whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuzzbawls committed Jul 5, 2018
1 parent d359c61 commit a554259
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/qt/privacydialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ PrivacyDialog::PrivacyDialog(QWidget* parent) : QDialog(parent, Qt::WindowSystem
ui->labelZsupplyText500->setText(tr("Denom. <b>500</b>:"));
ui->labelZsupplyText1000->setText(tr("Denom. <b>1000</b>:"));
ui->labelZsupplyText5000->setText(tr("Denom. <b>5000</b>:"));

// PIVX settings
QSettings settings;
if (!settings.contains("nSecurityLevel")){
Expand Down Expand Up @@ -237,7 +237,7 @@ void PrivacyDialog::on_pushButtonMintzPIV_clicked()

void PrivacyDialog::on_pushButtonMintReset_clicked()
{
ui->TEMintStatus->setPlainText(tr("Starting ResetMintZerocoin: rescanning complete blockchain, this will need up to 30 minutes depending on your hardware. \nPlease be patient..."));
ui->TEMintStatus->setPlainText(tr("Starting ResetMintZerocoin: rescanning complete blockchain, this will need up to 30 minutes depending on your hardware.\nPlease be patient..."));
ui->TEMintStatus->repaint ();

int64_t nTime = GetTimeMillis();
Expand Down Expand Up @@ -407,7 +407,7 @@ void PrivacyDialog::sendzPIV()
}

int64_t nTime = GetTimeMillis();
ui->TEMintStatus->setPlainText(tr("Spending Zerocoin.\nComputationally expensive, might need several minutes depending on the selected Security Level and your hardware. \nPlease be patient..."));
ui->TEMintStatus->setPlainText(tr("Spending Zerocoin.\nComputationally expensive, might need several minutes depending on the selected Security Level and your hardware.\nPlease be patient..."));
ui->TEMintStatus->repaint();

// use mints from zPIV selector if applicable
Expand Down Expand Up @@ -461,7 +461,7 @@ void PrivacyDialog::sendzPIV()
int nNeededSpends = receipt.GetNeededSpends(); // Number of spends we would need for this transaction
const int nMaxSpends = Params().Zerocoin_MaxSpendsPerTransaction(); // Maximum possible spends for one zPIV transaction
if (nNeededSpends > nMaxSpends) {
QString strStatusMessage = tr("Too much inputs (") + QString::number(nNeededSpends, 10) + tr(") needed. \nMaximum allowed: ") + QString::number(nMaxSpends, 10);
QString strStatusMessage = tr("Too much inputs (") + QString::number(nNeededSpends, 10) + tr(") needed.\nMaximum allowed: ") + QString::number(nMaxSpends, 10);
strStatusMessage += tr("\nEither mint higher denominations (so fewer inputs are needed) or reduce the amount to spend.");
QMessageBox::warning(this, tr("Spend Zerocoin"), strStatusMessage.toStdString().c_str(), QMessageBox::Ok, QMessageBox::Ok);
ui->TEMintStatus->setPlainText(tr("Spend Zerocoin failed with status = ") +QString::number(receipt.GetStatus(), 10) + "\n" + "Message: " + QString::fromStdString(strStatusMessage.toStdString()));
Expand Down Expand Up @@ -810,4 +810,4 @@ void PrivacyDialog::updateSPORK16Status()
ui->pushButtonSpendzPIV->setEnabled(true);
ui->pushButtonSpendzPIV->setToolTip(tr("Spend Zerocoin. Without 'Pay To:' address creates payments to yourself."));
}
}
}

0 comments on commit a554259

Please sign in to comment.