Skip to content

Commit 9d303b7

Browse files
committed
qml: Add parent to BitcoinAddress
1 parent 9e893df commit 9d303b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/qml/models/sendrecipient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <key_io.h>
1212

1313
SendRecipient::SendRecipient(WalletQmlModel* wallet, QObject* parent)
14-
: QObject(parent), m_wallet(wallet), m_address(new BitcoinAddress()), m_amount(new BitcoinAmount(this))
14+
: QObject(parent), m_wallet(wallet), m_address(new BitcoinAddress(this)), m_amount(new BitcoinAmount(this))
1515
{
1616
connect(m_amount, &BitcoinAmount::amountChanged, this, &SendRecipient::validateAmount);
1717
connect(m_address, &BitcoinAddress::formattedAddressChanged, this, &SendRecipient::validateAddress);

0 commit comments

Comments
 (0)