Skip to content

Commit 5d21ffe

Browse files
author
Philip Kaufmann
committed
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
1 parent 037a8da commit 5d21ffe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/qt/transactionview.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,14 @@ TransactionView::TransactionView(QWidget *parent) :
8181

8282
addressWidget = new QLineEdit(this);
8383
#if QT_VERSION >= 0x040700
84+
/* Do not move this to the XML file, Qt before 4.7 will choke on it */
8485
addressWidget->setPlaceholderText(tr("Enter address or label to search"));
8586
#endif
8687
hlayout->addWidget(addressWidget);
8788

8889
amountWidget = new QLineEdit(this);
8990
#if QT_VERSION >= 0x040700
91+
/* Do not move this to the XML file, Qt before 4.7 will choke on it */
9092
amountWidget->setPlaceholderText(tr("Min amount"));
9193
#endif
9294
#ifdef Q_WS_MAC

0 commit comments

Comments
 (0)