aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/forms/sendcoinsdialog.ui3
-rw-r--r--src/qt/sendcoinsdialog.cpp4
2 files changed, 3 insertions, 4 deletions
diff --git a/src/qt/forms/sendcoinsdialog.ui b/src/qt/forms/sendcoinsdialog.ui
index 26de3d2a96..7f843c4518 100644
--- a/src/qt/forms/sendcoinsdialog.ui
+++ b/src/qt/forms/sendcoinsdialog.ui
@@ -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>
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp
index 14d50963f2..4b974371fe 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