This commit is contained in:
恍兮惚兮 2025-01-01 23:27:38 +08:00
parent 18e85c9a39
commit 3f6e1e8d71
2 changed files with 1 additions and 4 deletions

View File

@ -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)

View File

@ -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)