Qt5 issue
This commit is contained in:
parent
02c4d74a79
commit
86c08658de
|
@ -90,11 +90,11 @@ def onOrientationChanged():
|
|||
if tb.orientation() == QtCore.Qt.Orientation.Horizontal:
|
||||
for b in tb.findChildren(QtGui.QToolButton):
|
||||
b.setProperty("toolbar_orientation", "horizontal")
|
||||
b.style().polish(b)
|
||||
# b.style().polish(b)
|
||||
else:
|
||||
for b in tb.findChildren(QtGui.QToolButton):
|
||||
b.setProperty("toolbar_orientation", "vertical")
|
||||
b.style().polish(b)
|
||||
# b.style().polish(b)
|
||||
|
||||
|
||||
def onStyle():
|
||||
|
|
Loading…
Reference in New Issue
Block a user