Commit 2ee9485d authored by Dan Pascu's avatar Dan Pascu

Removed unnecessary code

parent 5069ec3e
...@@ -355,11 +355,6 @@ class ChatWebPage(QWebPage): ...@@ -355,11 +355,6 @@ class ChatWebPage(QWebPage):
return False return False
return super(ChatWebPage, self).acceptNavigationRequest(frame, request, navigation_type) return super(ChatWebPage, self).acceptNavigationRequest(frame, request, navigation_type)
def triggerAction(self, action, checked=False):
if action == QWebPage.OpenLink:
return
super(ChatWebPage, self).triggerAction(action, checked)
def _SH_LinkClicked(self, url): def _SH_LinkClicked(self, url):
QDesktopServices.openUrl(url) QDesktopServices.openUrl(url)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment