diff options
| author | Philip Kaufmann <[email protected]> | 2012-05-10 15:42:26 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2012-05-10 15:42:26 +0200 |
| commit | 5d21ffe16bde1412c3c183a100292d5ea4fb72f2 (patch) | |
| tree | 11379d5ec27e2d549aaa95104b90dd736fe36793 /src/qt/transactionview.cpp | |
| parent | Merge pull request #1239 from Diapolo/testnet_GUI (diff) | |
| download | discoin-5d21ffe16bde1412c3c183a100292d5ea4fb72f2.tar.xz discoin-5d21ffe16bde1412c3c183a100292d5ea4fb72f2.zip | |
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
Diffstat (limited to 'src/qt/transactionview.cpp')
| -rw-r--r-- | src/qt/transactionview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp index 25d72b274..1c427d6fe 100644 --- a/src/qt/transactionview.cpp +++ b/src/qt/transactionview.cpp @@ -81,12 +81,14 @@ TransactionView::TransactionView(QWidget *parent) : 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 |