mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
move another setPlaceHolderText to 4.7+ only code
This commit is contained in:
parent
21e47f8d04
commit
482e57812b
2 changed files with 3 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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…
Reference in a new issue