diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-09-18 11:10:12 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-09-28 19:56:49 +0000 |
commit | 731fa2fa82fbb150d9a977e189302f4fe74cda50 (patch) | |
tree | 6b827ba1f2be044b0ecf0a829c419c1a79b10fa8 /src/quick/items/qquickpainteditem.h | |
parent | d69136698c1b4d26e88276a10eb81f2af5c5bc77 (diff) |
Add missing Q_FLAG declarations in QObject subclasses
This should make debugging easier (qDebug() << value will print
the name rather than the number).
This patch does not address remaining enums in private classes,
namespaces and non-QObject classes.
Change-Id: I1d28e5b15de5a4f267e280ff1823bc5982ac29ca
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/quick/items/qquickpainteditem.h')
-rw-r--r-- | src/quick/items/qquickpainteditem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/items/qquickpainteditem.h b/src/quick/items/qquickpainteditem.h index b057f4295d..ddc1fd99d9 100644 --- a/src/quick/items/qquickpainteditem.h +++ b/src/quick/items/qquickpainteditem.h @@ -71,6 +71,7 @@ public: FastFBOResizing = 0x1 }; Q_DECLARE_FLAGS(PerformanceHints, PerformanceHint) + Q_FLAG(PerformanceHints) void update(const QRect &rect = QRect()); |