From 3f6e1e8d71e280870fd55bbd27e78f499ee8637d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Wed, 1 Jan 2025 23:27:38 +0800 Subject: [PATCH] . --- cpp/version.cmake | 2 +- py/LunaTranslator/gui/usefulwidget.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/cpp/version.cmake b/cpp/version.cmake index f120de7d..e0c4a502 100644 --- a/cpp/version.cmake +++ b/cpp/version.cmake @@ -1,7 +1,7 @@ set(VERSION_MAJOR 6) set(VERSION_MINOR 16) -set(VERSION_PATCH 12) +set(VERSION_PATCH 13) set(VERSION_REVISION 0) set(LUNA_VERSION "{${VERSION_MAJOR},${VERSION_MINOR},${VERSION_PATCH},${VERSION_REVISION}}") add_library(VERSION_DEF ${CMAKE_CURRENT_LIST_DIR}/version_def.cpp) diff --git a/py/LunaTranslator/gui/usefulwidget.py b/py/LunaTranslator/gui/usefulwidget.py index 70dab4e4..5a54b4da 100644 --- a/py/LunaTranslator/gui/usefulwidget.py +++ b/py/LunaTranslator/gui/usefulwidget.py @@ -2440,8 +2440,6 @@ class statusbutton(QPushButton): class IconButton(QPushButton): - clicked = pyqtSignal() - def sizeHint(self): return QSize( int(1.42 * globalconfig["buttonsize2"]), @@ -2450,7 +2448,6 @@ class IconButton(QPushButton): def __init__(self, icon, enable=True, qicon=None, parent=None): super().__init__(parent) - super().clicked.connect(self.clicked) self._icon = icon self._qicon = qicon self.setSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed)