move another setPlaceHolderText to 4.7+ only code
This commit is contained in:
parent
21e47f8d04
commit
482e57812b
@ -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>
|
||||||
|
@ -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…
Reference in New Issue
Block a user