aboutsummaryrefslogtreecommitdiff
path: root/src/qt/openuridialog.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2019-10-18 08:35:17 -0400
committerfanquake <fanquake@gmail.com>2019-10-24 16:01:43 -0400
commit72fe13a58d5894afbaf1bb6789ee9b9b6576f20f (patch)
treeba6ddf657f63eeb9119ba3a071945ac84a5ff002 /src/qt/openuridialog.cpp
parent3548e4aac72e9148d41b440052a89d89328f7661 (diff)
gui: remove payment request file handling from OpenURI dialog
Diffstat (limited to 'src/qt/openuridialog.cpp')
-rw-r--r--src/qt/openuridialog.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/qt/openuridialog.cpp b/src/qt/openuridialog.cpp
index 48db95679f..199804f84d 100644
--- a/src/qt/openuridialog.cpp
+++ b/src/qt/openuridialog.cpp
@@ -39,12 +39,3 @@ void OpenURIDialog::accept()
ui->uriEdit->setValid(false);
}
}
-
-void OpenURIDialog::on_selectFileButton_clicked()
-{
- QString filename = GUIUtil::getOpenFileName(this, tr("Select payment request file to open"), "", "", nullptr);
- if(filename.isEmpty())
- return;
- QUrl fileUri = QUrl::fromLocalFile(filename);
- ui->uriEdit->setText("bitcoin:?r=" + QUrl::toPercentEncoding(fileUri.toString()));
-}