From 404906c4cca29cc39984da9ed4f4ae814158316a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Tue, 30 Jul 2024 14:34:08 +0800 Subject: [PATCH] . --- LunaTranslator/LunaTranslator/gui/setting_about.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/LunaTranslator/LunaTranslator/gui/setting_about.py b/LunaTranslator/LunaTranslator/gui/setting_about.py index 0a81c9fb..57200c71 100644 --- a/LunaTranslator/LunaTranslator/gui/setting_about.py +++ b/LunaTranslator/LunaTranslator/gui/setting_about.py @@ -124,14 +124,14 @@ def versioncheckthread(self): self.progresssignal.emit("……", 0) if not x: continue - self.versiontextsignal.emit(("获取中")) # ,'',url,url)) + self.versiontextsignal.emit("...") # ,'',url,url)) _version = getvesionmethod() if _version is None: sversion = "获取失败" else: sversion = _version[0] - self.versiontextsignal.emit(wraplink(sversion)) + self.versiontextsignal.emit(sversion) version = winsharedutils.queryversion(sys.argv[0]) need = ( version @@ -190,7 +190,7 @@ def wraplink(text: str): def createversionlabel(self): - self.versionlabel = LLabel() + self.versionlabel = QLabel() self.versionlabel.setOpenExternalLinks(True) self.versionlabel.setTextInteractionFlags( Qt.TextInteractionFlag.LinksAccessibleByMouse @@ -208,7 +208,7 @@ def createversionlabel(self): def versionlabelmaybesettext(self, x): try: - self.versionlabel.setText((x)) + self.versionlabel.setText(wraplink(x)) except: self.versionlabel_cache = x