Closed corranwebster closed 1 year ago
This PR is good but we're seeing one more deprecating warning for exec_()
when we run our testsuite that is coming from traitsui -
C:\Users\rporuri\.edm\envs\<env-name>\lib\site-packages\traitsui\qt4\ui_base.py:320: DeprecationWarning: 'exec_' will be removed in the future. Use 'exec' instead.
ui.control.exec_()
but that's a separate concern.
i've created the traitsui issue https://github.com/enthought/traitsui/issues/1987 mirroring this issue in pyface.
This uses
hasattr
to test whetherexec
is available, which should be all Qt backends except PySide2.Fixes #1179 and is more complete than #1198