Browse Source

[Qt] Remove CAmount from BitcoinAmountField Q_PROPERTY

tags/v0.15.1
Cozz Lovan 7 years ago
parent
commit
7014f382e3
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/qt/bitcoinamountfield.h

+ 3
- 1
src/qt/bitcoinamountfield.h View File

@@ -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