diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-02-17 12:54:07 -0800 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-02-17 12:54:07 -0800 |
| commit | 328512876ab6c5ec8eb69a9b34418caaee503bd5 (patch) | |
| tree | f513d69dd618d18ea2ec69725cf1a12791368e64 /src/qt/bitcoingui.cpp | |
| parent | Merge branch 'nolisten_bitcoin_conf_2' of https://github.com/dooglus/bitcoin (diff) | |
| parent | Restructure IPC URL handling (fixes #851) (diff) | |
| download | discoin-328512876ab6c5ec8eb69a9b34418caaee503bd5.tar.xz discoin-328512876ab6c5ec8eb69a9b34418caaee503bd5.zip | |
Merge pull request #854 from laanwj/2012_02_qtipc
Restructure IPC URL handling (fixes #851)
Diffstat (limited to 'src/qt/bitcoingui.cpp')
| -rw-r--r-- | src/qt/bitcoingui.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index f3b1d0e48..c95afdcef 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -729,7 +729,7 @@ void BitcoinGUI::dropEvent(QDropEvent *event) QList<QUrl> urls = event->mimeData()->urls(); foreach(const QUrl &url, urls) { - sendCoinsPage->handleURL(&url); + sendCoinsPage->handleURL(url.toString()); } } @@ -739,8 +739,7 @@ void BitcoinGUI::dropEvent(QDropEvent *event) void BitcoinGUI::handleURL(QString strURL) { gotoSendCoinsPage(); - QUrl url = QUrl(strURL); - sendCoinsPage->handleURL(&url); + sendCoinsPage->handleURL(strURL); } void BitcoinGUI::setEncryptionStatus(int status) |