Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
I'm unhappy with the auto-fix.
  • Loading branch information
StSav012 committed Nov 1, 2023
1 parent 1dcd69b commit 940030c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qtpy/QtWidgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ def __getattr__(attr):
# Make `addAction` compatible with Qt6 >= 6.3
if PYQT5 or PYSIDE2 or parse(QT_VERSION) < parse("6.3"):
QMenu.addAction = partialmethod(
_utils.add_action, old_add_action=QMenu.addAction,
_utils.add_action,
old_add_action=QMenu.addAction,
)
QToolBar.addAction = partialmethod(
_utils.add_action,
Expand Down

0 comments on commit 940030c

Please sign in to comment.