changeset 2469:38085276fbd8 draft

Merge pull request #1251 from Diapolo/transactionview_comments add 2 comments to transactionview.cpp to ensure no one moves setPlacehol...
author Wladimir J. van der Laan <laanwj@gmail.com>
date Fri, 11 May 2012 02:43:42 -0700
parents 80849ad5a725 (current diff) 5a93b7e1b9f8 (diff)
children 4cc81040de04 61f9248d93de 2ccc3ae72973
files
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/qt/transactionview.cpp
+++ b/src/qt/transactionview.cpp
@@ -81,12 +81,14 @@
 
     addressWidget = new QLineEdit(this);
 #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"));
 #endif
     hlayout->addWidget(addressWidget);
 
     amountWidget = new QLineEdit(this);
 #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"));
 #endif
 #ifdef Q_WS_MAC