From 482e57812bb5d3b2c608eab7ae3929ab2bec04cc Mon Sep 17 00:00:00 2001 From: Wladimir J. van der Laan Date: Sun, 3 Jul 2011 08:24:07 +0200 Subject: [PATCH] move another setPlaceHolderText to 4.7+ only code --- src/qt/forms/sendcoinsdialog.ui | 3 --- src/qt/sendcoinsdialog.cpp | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/qt/forms/sendcoinsdialog.ui b/src/qt/forms/sendcoinsdialog.ui index 26de3d2..7f843c4 100644 --- a/src/qt/forms/sendcoinsdialog.ui +++ b/src/qt/forms/sendcoinsdialog.ui @@ -130,9 +130,6 @@ Enter a label for this address to add it to your address book - - Enter a label for this address to add it to your address book - diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 14d5096..4b97437 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -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 -- 1.7.1