diff --git a/qtpy/compat.py b/qtpy/compat.py index dbac4396..45e11338 100644 --- a/qtpy/compat.py +++ b/qtpy/compat.py @@ -75,7 +75,7 @@ def getexistingdirectory(parent=None, caption='', basedir='', def _qfiledialog_wrapper(attr, parent=None, caption='', basedir='', filters='', selectedfilter='', options=None): if options is None: - options = QFileDialog.Options(0) + options = QFileDialog.Option(0) func = getattr(QFileDialog, attr)