1
0

qt: fix handling BIP21 URI from e.g. website on macOS

fixes #6933

based on e2171f702d

Co-authored-by: SomberNight <somber.night@protonmail.com>
This commit is contained in:
Neil Booth
2021-01-21 04:41:03 +01:00
committed by SomberNight
parent 60792dc808
commit 8b5e312e7e

View File

@@ -73,7 +73,7 @@ class OpenFileEventFilter(QObject):
def eventFilter(self, obj, event):
if event.type() == QtCore.QEvent.FileOpen:
if len(self.windows) >= 1:
self.windows[0].pay_to_URI(event.url().toEncoded())
self.windows[0].pay_to_URI(event.url().toString())
return True
return False