diff options
author | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-11-13 12:52:35 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-11-16 08:48:31 +0000 |
commit | 1a6b32fa543ae95b343b3b86d7a4716a44b73825 (patch) | |
tree | d510ace220901c176d463b928f393a64ddddefef /src/webenginewidgets | |
parent | 70a376d73718cc4ff8d96f6761b8c1896ca25c23 (diff) |
use Q_ENUM instead of Q_ENUMS
This makes the enum values available as strings in qDebug,
QCOMPARE and such.
Change-Id: Id57a2002451337fcc8aedac673f834445913895c
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src/webenginewidgets')
-rw-r--r-- | src/webenginewidgets/api/qwebenginedownloaditem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webenginewidgets/api/qwebenginedownloaditem.h b/src/webenginewidgets/api/qwebenginedownloaditem.h index 05e0f8765..38b9a4ad8 100644 --- a/src/webenginewidgets/api/qwebenginedownloaditem.h +++ b/src/webenginewidgets/api/qwebenginedownloaditem.h @@ -59,7 +59,7 @@ public: DownloadCancelled, DownloadInterrupted }; - Q_ENUMS(DownloadState) + Q_ENUM(DownloadState) quint32 id() const; DownloadState state() const; |