Browse Source

Merge pull request #5117

7014f38 [Qt] Remove CAmount from BitcoinAmountField Q_PROPERTY (Cozz Lovan)
pull/1/head
Wladimir J. van der Laan 8 years ago
parent
commit
5c85fde550
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 4
      src/qt/bitcoinamountfield.h

4
src/qt/bitcoinamountfield.h

@ -21,7 +21,9 @@ class BitcoinAmountField: public QWidget @@ -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);

Loading…
Cancel
Save