diff options
| author | Wladimir J. van der Laan <[email protected]> | 2013-11-06 15:08:56 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2013-11-11 14:29:49 +0100 |
| commit | 4c6035860448656c67fa60fef6b020aafbb2e208 (patch) | |
| tree | d293e815b23f69b3f9555840af61ddf1d6c8fe79 /src/qt/bitcoin.cpp | |
| parent | doc: replace DOS with MSYS shell to be more consistent (diff) | |
| download | discoin-4c6035860448656c67fa60fef6b020aafbb2e208.tar.xz discoin-4c6035860448656c67fa60fef6b020aafbb2e208.zip | |
qt: add Open URI dialog
Diffstat (limited to 'src/qt/bitcoin.cpp')
| -rw-r--r-- | src/qt/bitcoin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 2fa7979ea..5eb0cfed3 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -334,6 +334,8 @@ int main(int argc, char *argv[]) // bitcoin: URIs or payment requests: QObject::connect(paymentServer, SIGNAL(receivedPaymentRequest(SendCoinsRecipient)), &window, SLOT(handlePaymentRequest(SendCoinsRecipient))); + QObject::connect(&window, SIGNAL(receivedURI(QString)), + paymentServer, SLOT(handleURIOrFile(QString))); QObject::connect(&walletModel, SIGNAL(coinsSent(CWallet*,SendCoinsRecipient,QByteArray)), paymentServer, SLOT(fetchPaymentACK(CWallet*,const SendCoinsRecipient&,QByteArray))); QObject::connect(paymentServer, SIGNAL(message(QString,QString,unsigned int)), |