summaryrefslogtreecommitdiff
path: root/src/widgets/dialogs/qfiledialog.h
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals@canonical.com>2016-12-23 11:52:47 +0100
committerAlbert Astals Cid <albert.astals@canonical.com>2017-01-02 10:31:25 +0000
commit59ae55e12e075005ceae6e353ef1ee00817ec751 (patch)
tree83dcec3230d244aeb3b7b8aaf4a01147f6c4f887 /src/widgets/dialogs/qfiledialog.h
parent92f6a4588f6bfc78e9b8b536ec7895d048c3aa30 (diff)
downloadqtbase-59ae55e12e075005ceae6e353ef1ee00817ec751.tar.gz
Q_ENUMS -> Q_ENUM and Q_FLAGS -> Q_FLAG
Change-Id: I3cdc7338354da40ab20bdaeb9d5745264ea27228 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/dialogs/qfiledialog.h')
-rw-r--r--src/widgets/dialogs/qfiledialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dialogs/qfiledialog.h b/src/widgets/dialogs/qfiledialog.h
index 4ade50793d..c2ab0b3918 100644
--- a/src/widgets/dialogs/qfiledialog.h
+++ b/src/widgets/dialogs/qfiledialog.h
@@ -62,7 +62,6 @@ class QAbstractProxyModel;
class Q_WIDGETS_EXPORT QFileDialog : public QDialog
{
Q_OBJECT
- Q_FLAGS(Options)
Q_PROPERTY(ViewMode viewMode READ viewMode WRITE setViewMode)
Q_PROPERTY(FileMode fileMode READ fileMode WRITE setFileMode)
Q_PROPERTY(AcceptMode acceptMode READ acceptMode WRITE setAcceptMode)
@@ -97,6 +96,7 @@ public:
};
Q_ENUM(Option)
Q_DECLARE_FLAGS(Options, Option)
+ Q_FLAG(Options)
QFileDialog(QWidget *parent, Qt::WindowFlags f);
explicit QFileDialog(QWidget *parent = Q_NULLPTR,