Skip to content

Commit

Permalink
Merge pull request bitcoin#5117
Browse files Browse the repository at this point in the history
7014f38 [Qt] Remove CAmount from BitcoinAmountField Q_PROPERTY (Cozz Lovan)
  • Loading branch information
laanwj committed Oct 25, 2014
2 parents e401a2c + 7014f38 commit 5c85fde
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/qt/bitcoinamountfield.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5c85fde

Please sign in to comment.