From 0b31f9faed97bf3a1f64684ff7f2cb30ae528706 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Sun, 9 Nov 2025 21:55:52 +0200 Subject: 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 --- src/opengl/qopengltextureuploader_p.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/opengl/qopengltextureuploader_p.h') 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()); -- cgit v1.2.3