diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2025-11-09 21:55:52 +0200 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2025-11-16 18:04:04 +0200 |
| commit | 0b31f9faed97bf3a1f64684ff7f2cb30ae528706 (patch) | |
| tree | 057dcc25c261eaa401a3abb34fce6c085a8d2004 /src/opengl/qopengltextureuploader_p.h | |
| parent | 7bf27b88eafbc54762cdeb28c9202bb7e080b308 (diff) | |
Remove redundant Q_FLAGS usage from two private classes
Both classes don't inherit from QObject, so the Q_FLAGS macro doesn't
register anything with the meta-object system here.
Task-number: QTBUG-99060
Change-Id: Id25f8b92cfe6eeade28059f5f7c661603f08e863
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/opengl/qopengltextureuploader_p.h')
| -rw-r--r-- | src/opengl/qopengltextureuploader_p.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/opengl/qopengltextureuploader_p.h b/src/opengl/qopengltextureuploader_p.h index 299a4b81dc9..140d1feae12 100644 --- a/src/opengl/qopengltextureuploader_p.h +++ b/src/opengl/qopengltextureuploader_p.h @@ -34,7 +34,6 @@ public: PowerOfTwoBindOption = 0x0008 }; Q_DECLARE_FLAGS(BindOptions, BindOption) - Q_FLAGS(BindOptions) static qsizetype textureImage(GLenum target, const QImage &image, BindOptions options, QSize maxSize = QSize()); |
