move another setPlaceHolderText to 4.7+ only code

This commit is contained in:
Wladimir J. van der Laan 2011-07-03 08:24:07 +02:00
parent 21e47f8d04
commit 482e57812b
2 changed files with 3 additions and 4 deletions

View File

@ -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>

View File

@ -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