Browse Source

move another setPlaceHolderText to 4.7+ only code

miguelfreitas
Wladimir J. van der Laan 14 years ago
parent
commit
482e57812b
  1. 3
      src/qt/forms/sendcoinsdialog.ui
  2. 4
      src/qt/sendcoinsdialog.cpp

3
src/qt/forms/sendcoinsdialog.ui

@ -130,9 +130,6 @@ @@ -130,9 +130,6 @@
<property name="toolTip">
<string>Enter a label for this address to add it to your address book</string>
</property>
<property name="placeholderText">
<string>Enter a label for this address to add it to your address book</string>
</property>
</widget>
</item>
</layout>

4
src/qt/sendcoinsdialog.cpp

@ -18,7 +18,9 @@ SendCoinsDialog::SendCoinsDialog(QWidget *parent, const QString &address) : @@ -18,7 +18,9 @@ SendCoinsDialog::SendCoinsDialog(QWidget *parent, const QString &address) :
model(0)
{
ui->setupUi(this);
#if QT_VERSION >= 0x040700
ui->addAsLabel->setPlaceholderText(tr("Enter a label for this address to add it to your address book"));
#endif
GUIUtil::setupAddressWidget(ui->payTo, this);
// Set initial send-to address if provided

Loading…
Cancel
Save