From 1db1b946579ad0b39c72366e3fd8f83ed3e45e15 Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Mon, 17 Sep 2018 11:56:58 +0200 Subject: [PATCH] [EPS] qWarning -> qCWarning --- src/imageformats/eps.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/imageformats/eps.cpp b/src/imageformats/eps.cpp index f32713d..80c302f 100644 --- a/src/imageformats/eps.cpp +++ b/src/imageformats/eps.cpp @@ -157,7 +157,7 @@ bool EPSHandler::read(QImage *image) QTemporaryFile tmpFile; if (!tmpFile.open()) { - qWarning() << "Could not create the temporary file" << tmpFile.fileName(); + qCWarning(EPSPLUGIN) << "Could not create the temporary file" << tmpFile.fileName(); return false; } qCDebug(EPSPLUGIN) << "temporary file:" << tmpFile.fileName(); @@ -199,7 +199,7 @@ bool EPSHandler::read(QImage *image) converter.setProcessChannelMode(QProcess::ForwardedErrorChannel); converter.start(QStringLiteral("gs"), gsArgs); if (!converter.waitForStarted(3000)) { - qWarning() << "Reading EPS files requires gs (from GhostScript)"; + qCWarning(EPSPLUGIN) << "Reading EPS files requires gs (from GhostScript)"; return false; } @@ -298,7 +298,7 @@ bool EPSHandler::write(const QImage &image) converter.start(QStringLiteral("gs"), gsArgs); if (!converter.waitForStarted(3000)) { - qWarning() << "Creating EPS files requires pdftops (from Poppler) or gs (from GhostScript)"; + qCWarning(EPSPLUGIN) << "Creating EPS files requires pdftops (from Poppler) or gs (from GhostScript)"; return false; } } @@ -313,7 +313,7 @@ bool EPSHandler::write(const QImage &image) bool EPSHandler::canRead(QIODevice *device) { if (!device) { - qWarning("EPSHandler::canRead() called with no device"); + qCWarning(EPSPLUGIN) << "EPSHandler::canRead() called with no device"; return false; }