mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-13 18:42:03 +08:00
优化公告链接打开
This commit is contained in:
@@ -2083,6 +2083,10 @@ def GetNewInformation():
|
||||
global webInformation
|
||||
if bad:
|
||||
webInformation = QtWidgets.QTextBrowser()
|
||||
webInformation.anchorClicked.connect(OpenUrl)
|
||||
webInformation.setOpenLinks(False)
|
||||
webInformation.setOpenExternalLinks(False)
|
||||
|
||||
else:
|
||||
webInformation = QtWebEngineWidgets.QWebEngineView()
|
||||
webInformation.setHtml(text)
|
||||
|
||||
Reference in New Issue
Block a user