diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-10-25 08:35:25 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-10-25 08:36:26 +0200 |
commit | 5c85fde550074d30a25a733aa897b2a101bc1960 (patch) | |
tree | 3eb7c9e49ac36b0e7788c6d444a348d6a139a488 /src/qt | |
parent | e401a2c557ddd1f7cf66df2e62f3324e3b7bcd40 (diff) | |
parent | 7014f382e3fd99226b7d844984e50706e2f67247 (diff) |
Merge pull request #5117
7014f38 [Qt] Remove CAmount from BitcoinAmountField Q_PROPERTY (Cozz Lovan)
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/bitcoinamountfield.h | 4 |
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); |