mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 02:11:24 +02:00
[Qt] Remove CAmount from BitcoinAmountField Q_PROPERTY
This commit is contained in:
@ -21,7 +21,9 @@ class BitcoinAmountField: public QWidget
|
|||||||
{
|
{
|
||||||
Q_OBJECT
|
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:
|
public:
|
||||||
explicit BitcoinAmountField(QWidget *parent = 0);
|
explicit BitcoinAmountField(QWidget *parent = 0);
|
||||||
|
Reference in New Issue
Block a user