diff options
Diffstat (limited to 'src/gui/image/qppmhandler.cpp')
-rw-r--r-- | src/gui/image/qppmhandler.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gui/image/qppmhandler.cpp b/src/gui/image/qppmhandler.cpp index eccd750f1d..71dbefe354 100644 --- a/src/gui/image/qppmhandler.cpp +++ b/src/gui/image/qppmhandler.cpp @@ -41,14 +41,19 @@ #ifndef QT_NO_IMAGEFORMAT_PPM +#include <qdebug.h> #include <qimage.h> #include <qlist.h> +#include <qloggingcategory.h> +#include <qrgba64.h> #include <qvariant.h> + #include <ctype.h> -#include <qrgba64.h> QT_BEGIN_NAMESPACE +Q_DECLARE_LOGGING_CATEGORY(lcImageIo) + /***************************************************************************** PBM/PGM/PPM (ASCII and RAW) image read/write functions *****************************************************************************/ @@ -473,7 +478,7 @@ bool QPpmHandler::canRead() const bool QPpmHandler::canRead(QIODevice *device, QByteArray *subType) { if (!device) { - qWarning("QPpmHandler::canRead() called with no device"); + qCWarning(lcImageIo, "QPpmHandler::canRead() called with no device"); return false; } |