diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-05-07 00:19:22 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-05-07 00:19:22 +0200 |
commit | 7d5bb4294670a93bf4bdfe458e888a1e0fc7aee0 (patch) | |
tree | c8a4dc43ea83e5b2e8fb6e88e9750483e563e34a /src/qt/messagepage.cpp | |
parent | 46692fc929bd024928ffbde6c5f5549d5fd1c45d (diff) |
Move back setPlaceholderText to code, from xml, as this broke building with Qt 4.6
Diffstat (limited to 'src/qt/messagepage.cpp')
-rw-r--r-- | src/qt/messagepage.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/messagepage.cpp b/src/qt/messagepage.cpp index d658119a08..57ad8292dc 100644 --- a/src/qt/messagepage.cpp +++ b/src/qt/messagepage.cpp @@ -24,6 +24,11 @@ MessagePage::MessagePage(QWidget *parent) : ui(new Ui::MessagePage) { ui->setupUi(this); + +#if (QT_VERSION >= 0x040700) + /* Do not move this to the XML file, Qt before 4.7 will choke on it */ + ui->signature->setPlaceholderText(tr("Click \"Sign Message\" to get signature")); +#endif GUIUtil::setupAddressWidget(ui->signFrom, this); } |