From b827f136407fba392c0963d52d2ad6504c991222 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 8 Dec 2021 14:00:55 +0100 Subject: Better debug output for pixel formats MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Write out the enum value correctly, not mingled with quotes. Pick-to: 6.2 Change-Id: I9a39392b9c962ccbcdb46abb6e5ff095395cb052 Reviewed-by: André de la Rocha Reviewed-by: Lars Knoll --- src/multimedia/video/qvideoframeformat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/multimedia/video/qvideoframeformat.cpp b/src/multimedia/video/qvideoframeformat.cpp index f2b94038a..758411e70 100644 --- a/src/multimedia/video/qvideoframeformat.cpp +++ b/src/multimedia/video/qvideoframeformat.cpp @@ -818,7 +818,7 @@ QDebug operator<<(QDebug dbg, QVideoFrameFormat::PixelFormat pf) if (format.isEmpty()) return dbg; - dbg << QStringLiteral("Format_") << format; + dbg.noquote() << QStringLiteral("Format_") << format; return dbg; } #endif -- cgit v1.2.3