QtGui.QApplication.translate("MessageView","The link \"%1\" will open in a browser. It may be a security risk, it could de-anonymise you or download malicious data. Are you sure?").arg(str(link.toString())),
QtGui.QMessageBox.Yes,QtGui.QMessageBox.No)
ifreply==QtGui.QMessageBox.Yes:
QtGui.QDesktopServices.openUrl(link)
@ -110,7 +106,7 @@ class MessageView(QtGui.QTextBrowser):
out="<div align=\"center\" style=\"text-decoration: underline;\"><b>"+str(QtGui.QApplication.translate("MessageView","HTML detected, click here to display"))+"</b></div><br/>"+out
self.out=out
self.outpos=0
self.setHtml("")
@ -119,7 +115,7 @@ class MessageView(QtGui.QTextBrowser):
out="<div align=\"center\" style=\"text-decoration: underline;\"><b>"+str(QtGui.QApplication.translate("MessageView","Click here to disable HTML"))+"</b></div><br/>"+out