mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-03 20:53:04 +02:00
add 2 comments to transactionview.cpp to ensure no one moves setPlaceholderText to the XML file (after this all parts in the code that use setPlaceholderText have this comment
This commit is contained in:
@@ -81,12 +81,14 @@ TransactionView::TransactionView(QWidget *parent) :
|
|||||||
|
|
||||||
addressWidget = new QLineEdit(this);
|
addressWidget = new QLineEdit(this);
|
||||||
#if QT_VERSION >= 0x040700
|
#if QT_VERSION >= 0x040700
|
||||||
|
/* Do not move this to the XML file, Qt before 4.7 will choke on it */
|
||||||
addressWidget->setPlaceholderText(tr("Enter address or label to search"));
|
addressWidget->setPlaceholderText(tr("Enter address or label to search"));
|
||||||
#endif
|
#endif
|
||||||
hlayout->addWidget(addressWidget);
|
hlayout->addWidget(addressWidget);
|
||||||
|
|
||||||
amountWidget = new QLineEdit(this);
|
amountWidget = new QLineEdit(this);
|
||||||
#if QT_VERSION >= 0x040700
|
#if QT_VERSION >= 0x040700
|
||||||
|
/* Do not move this to the XML file, Qt before 4.7 will choke on it */
|
||||||
amountWidget->setPlaceholderText(tr("Min amount"));
|
amountWidget->setPlaceholderText(tr("Min amount"));
|
||||||
#endif
|
#endif
|
||||||
#ifdef Q_WS_MAC
|
#ifdef Q_WS_MAC
|
||||||
|
Reference in New Issue
Block a user