mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-11-22 10:02:43 -05:00
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
This commit is contained in:
committed by
Mirco Miranda
parent
19faa55a6d
commit
4c52480b73
@ -1344,7 +1344,7 @@ bool TGAHandler::canRead(QIODevice *device)
|
|||||||
|
|
||||||
TgaHeader tga;
|
TgaHeader tga;
|
||||||
if (!peekHeader(device, 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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user