mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 20:14:33 +02:00
Also enumify QMessgaeBox
This commit is contained in:
parent
f61d216e20
commit
5db495deeb
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ def set_menu(self, menu):
|
|||
# Restore enum values to various classes
|
||||
for cls in (
|
||||
Qt, QDialog, QToolButton, QAbstractItemView, QDialogButtonBox, QFrame, QComboBox,
|
||||
QLineEdit, QAction, QImage, QIODevice, QPalette, QFormLayout, QEvent
|
||||
QLineEdit, QAction, QImage, QIODevice, QPalette, QFormLayout, QEvent, QMessageBox
|
||||
):
|
||||
for var in tuple(vars(cls).values()):
|
||||
m = getattr(var, '__members__', {})
|
||||
|
|
|
|||
Loading…
Reference in a new issue