summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats/tga/qtgahandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/imageformats/tga/qtgahandler.cpp')
-rw-r--r--src/plugins/imageformats/tga/qtgahandler.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/plugins/imageformats/tga/qtgahandler.cpp b/src/plugins/imageformats/tga/qtgahandler.cpp
index 9277e50..53a16d0 100644
--- a/src/plugins/imageformats/tga/qtgahandler.cpp
+++ b/src/plugins/imageformats/tga/qtgahandler.cpp
@@ -66,6 +66,7 @@ bool QTgaHandler::canRead() const
setFormat("tga");
return true;
}
+ qWarning("QTgaHandler::canRead(): %s", qPrintable(tga->errorMessage()));
return false;
}
@@ -98,13 +99,6 @@ bool QTgaHandler::read(QImage *image)
return !image->isNull();
}
-#if QT_DEPRECATED_SINCE(5, 13)
-QByteArray QTgaHandler::name() const
-{
- return "tga";
-}
-#endif
-
QVariant QTgaHandler::option(ImageOption option) const
{
if (option == Size && canRead()) {