linux opens external links in browser now
This commit is contained in:
parent
80728df815
commit
5b2157d881
2 changed files with 10 additions and 1 deletions
|
@ -86,9 +86,16 @@ class Controller(QtCore.QObject):
|
|||
return ""
|
||||
|
||||
@QtCore.pyqtSlot(str)
|
||||
def openURL(self, url):
|
||||
def openAuthorizationURL(self, url):
|
||||
self.app.oauth_implementation.handle_authentication(str(url))
|
||||
|
||||
@QtCore.pyqtSlot(str)
|
||||
def openURL(self, url):
|
||||
QtGui.QDesktopServices.openUrl(QtCore.QUrl(url, QtCore.QUrl.TolerantMode))
|
||||
|
||||
def openQURL(self, url):
|
||||
QtGui.QDesktopServices.openUrl(url)
|
||||
|
||||
@QtCore.pyqtSlot()
|
||||
def loggedIn(self):
|
||||
self.app.authentification_succeded()
|
||||
|
|
Reference in a new issue