diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-03 08:24:07 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-03 08:24:07 +0200 |
commit | 482e57812bb5d3b2c608eab7ae3929ab2bec04cc (patch) | |
tree | 9e3d3919e941f8abacc0d53dbcfc7305912f517d /src/qt | |
parent | 21e47f8d0403e2b45fd403f212ace20f3bfd2888 (diff) |
move another setPlaceHolderText to 4.7+ only code
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/forms/sendcoinsdialog.ui | 3 | ||||
-rw-r--r-- | 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 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 |