Move back setPlaceholderText to code, from xml, as this broke building with Qt 4.6
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user