Browse Source

move another setPlaceHolderText to 4.7+ only code

0.8
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 @@
<property name="toolTip"> <property name="toolTip">
<string>Enter a label for this address to add it to your address book</string> <string>Enter a label for this address to add it to your address book</string>
</property> </property>
<property name="placeholderText">
<string>Enter a label for this address to add it to your address book</string>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>

4
src/qt/sendcoinsdialog.cpp

@ -18,7 +18,9 @@ SendCoinsDialog::SendCoinsDialog(QWidget *parent, const QString &address) :
model(0) model(0)
{ {
ui->setupUi(this); 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); GUIUtil::setupAddressWidget(ui->payTo, this);
// Set initial send-to address if provided // Set initial send-to address if provided

Loading…
Cancel
Save