From 4c52480b73c4a423279c32e2448287a60b28b880 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Sun, 12 Oct 2025 13:09:37 +0200 Subject: [PATCH] tga: Reduce Warning to Debug It happens that apps have an unknown source and ask if they can read it, we should not show a weird warning to the user --- src/imageformats/tga.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imageformats/tga.cpp b/src/imageformats/tga.cpp index f74e537..d08f056 100644 --- a/src/imageformats/tga.cpp +++ b/src/imageformats/tga.cpp @@ -1344,7 +1344,7 @@ bool TGAHandler::canRead(QIODevice *device) TgaHeader tga; if (!peekHeader(device, tga)) { - qCWarning(LOG_TGAPLUGIN) << "TGAHandler::canRead() error while reading the header"; + qCDebug(LOG_TGAPLUGIN) << "TGAHandler::canRead() error while reading the header"; return false; }