mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
useless
This commit is contained in:
parent
cbfdbd85ce
commit
f3f7d01da8
@ -208,13 +208,6 @@ class FlowLayout(QLayout):
|
||||
def expandingDirections(self): # pylint: disable=invalid-name,no-self-use
|
||||
return Qt.Orientations(Qt.Orientation(0))
|
||||
|
||||
def hasHeightForWidth(self): # pylint: disable=invalid-name,no-self-use
|
||||
return True
|
||||
|
||||
def heightForWidth(self, width): # pylint: disable=invalid-name
|
||||
height = self._do_layout(QRect(0, 0, width, 0), True)
|
||||
return height
|
||||
|
||||
def setGeometry(self, rect): # pylint: disable=invalid-name
|
||||
super().setGeometry(rect)
|
||||
self._do_layout(rect, False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user