Switch all plugins to QLoggingCategory

This commit is contained in:
Mirco Miranda
2025-09-19 10:00:26 +02:00
parent a4e18734bd
commit fda751c641
17 changed files with 372 additions and 286 deletions

View File

@@ -330,7 +330,7 @@ bool ScitexHandler::canRead() const
bool ScitexHandler::canRead(QIODevice *device)
{
if (!device) {
qWarning("ScitexHandler::canRead() called with no device");
qCWarning(LOG_SCTPLUGIN) << "ScitexHandler::canRead() called with no device";
return false;
}
ScitexHandlerPrivate hp;
@@ -344,7 +344,7 @@ bool ScitexHandler::read(QImage *image)
{
auto dev = device();
if (dev == nullptr) {
qWarning("ScitexHandler::read() called with no device");
qCWarning(LOG_SCTPLUGIN) << "ScitexHandler::read() called with no device";
return false;
}
if (!d->loadHeader(dev)) {