node_manager_fkie: fixed url handling in host control
@@ -1982,10 +1982,11 @@ class MainWindow(QMainWindow):
def _url_path(self, url):
'''Helper class for Qt5 compatibility'''
- if hasattr(url, 'encodedPath'):
- return str(url.encodedPath())
- else:
- return str(url.path())
+ return url.toString()
+ # if hasattr(url, 'encodedPath'):
+ # return str(url.encodedPath())
+ # else:
+ # return str(url.path())
def _url_host(self, url):
'''Helper class for Qt5 compatibility'''
