Browse Source

Cleanup

pull/45/head
Aditya Kulkarni 5 years ago
parent
commit
117fb45059
  1. 4
      src/requestdialog.cpp
  2. 4
      src/requestdialog.ui

4
src/requestdialog.cpp

@ -40,7 +40,7 @@ void RequestDialog::setupDialog(MainWindow* main, QDialog* d, Ui_RequestDialog*
req->cmbMyAddress->setCurrentText(main->getRPC()->getDefaultSaplingAddress());
QIcon icon(":/icons/res/paymentreq.gif");
req->label_5->setPixmap(icon.pixmap(48, 48));
req->lblPixmap->setPixmap(icon.pixmap(48, 48));
}
// Static method that shows an incoming payment request and prompts the user to pay it
@ -77,7 +77,7 @@ void RequestDialog::showPaymentConfirmation(MainWindow* main, QString paymentURI
req.buttonBox->button(QDialogButtonBox::Ok)->setText(tr("Pay"));
req.label_6->setText(tr("You are paying a payment request. Your address will not be visible to the person requesting this payment."));
req.lblHeader->setText(tr("You are paying a payment request. Your address will not be visible to the person requesting this payment."));
if (d.exec() == QDialog::Accepted) {
main->payZcashURI(paymentURI, req.cmbMyAddress->currentText());

4
src/requestdialog.ui

@ -204,7 +204,7 @@
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_5">
<widget class="QLabel" name="lblPixmap">
<property name="text">
<string>TextLabel</string>
</property>
@ -214,7 +214,7 @@
</widget>
</item>
<item row="0" column="2" colspan="2">
<widget class="QLabel" name="label_6">
<widget class="QLabel" name="lblHeader">
<property name="text">
<string>Request payment from a Sapling address. You'll send a ZEC 0.0001 transaction to the address with a zcash payment URI. The memo will be included in the transaction when the address pays you.</string>
</property>

Loading…
Cancel
Save