aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCozz Lovan <cozzlovan@yahoo.com>2014-10-22 06:07:59 +0200
committerCozz Lovan <cozzlovan@yahoo.com>2014-10-24 23:43:27 +0200
commit7014f382e3fd99226b7d844984e50706e2f67247 (patch)
tree2a7f4368a0418a2f7af8b15262fc481e16da9607
parent9acbb4180a383ff123e07887a24b439cef846e89 (diff)
[Qt] Remove CAmount from BitcoinAmountField Q_PROPERTY
-rw-r--r--src/qt/bitcoinamountfield.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/bitcoinamountfield.h b/src/qt/bitcoinamountfield.h
index e52feeb46e..040a234177 100644
--- a/src/qt/bitcoinamountfield.h
+++ b/src/qt/bitcoinamountfield.h
@@ -21,7 +21,9 @@ class BitcoinAmountField: public QWidget
{
Q_OBJECT
- Q_PROPERTY(CAmount value READ value WRITE setValue NOTIFY valueChanged USER true)
+ // ugly hack: for some unknown reason CAmount (instead of qint64) does not work here as expected
+ // discussion: https://github.com/bitcoin/bitcoin/pull/5117
+ Q_PROPERTY(qint64 value READ value WRITE setValue NOTIFY valueChanged USER true)
public:
explicit BitcoinAmountField(QWidget *parent = 0);