summaryrefslogtreecommitdiffstats
path: root/src/pdf
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2022-02-09 13:45:41 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2022-02-10 17:54:44 +0100
commitfd4c82da90213a15130f2478617ad6a7ab441447 (patch)
tree5d80f79cd1a2730b23d0f5be0597ed1b98e4e6d9 /src/pdf
parentc5d2168730e6f715f7965fe41933c8df62ec27b8 (diff)
PDF: Remove Q_FUNC_INFO from qCDebug
They are redundant as long as you have %{function} in your QT_MESSAGE_PATTERN, and have configured with -developer-build. Change-Id: I89106bab0f4c1275633d7033761b9a5844df9403 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/pdf')
-rw-r--r--src/pdf/plugins/imageformats/pdf/qpdfiohandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pdf/plugins/imageformats/pdf/qpdfiohandler.cpp b/src/pdf/plugins/imageformats/pdf/qpdfiohandler.cpp
index 76b38ce82..ecf2846ac 100644
--- a/src/pdf/plugins/imageformats/pdf/qpdfiohandler.cpp
+++ b/src/pdf/plugins/imageformats/pdf/qpdfiohandler.cpp
@@ -84,7 +84,7 @@ int QPdfIOHandler::imageCount() const
int ret = 0;
if (const_cast<QPdfIOHandler *>(this)->load(device()))
ret = m_doc.pageCount();
- qCDebug(qLcPdf) << "imageCount" << ret;
+ qCDebug(qLcPdf) << ret;
return ret;
}
@@ -123,7 +123,7 @@ bool QPdfIOHandler::read(QImage *image)
t.translate(tr1.x(), tr1.y());
bounds = t.mapRect(bounds);
}
- qCDebug(qLcPdf) << Q_FUNC_INFO << m_page << finalSize;
+ qCDebug(qLcPdf) << m_page << finalSize;
if (image->size() != finalSize || !image->reinterpretAsFormat(QImage::Format_ARGB32_Premultiplied)) {
*image = QImage(finalSize, QImage::Format_ARGB32_Premultiplied);
if (!finalSize.isEmpty() && image->isNull()) {
@@ -213,7 +213,7 @@ bool QPdfIOHandler::supportsOption(ImageOption option) const
bool QPdfIOHandler::jumpToImage(int frame)
{
- qCDebug(qLcPdf) << Q_FUNC_INFO << frame;
+ qCDebug(qLcPdf) << frame;
if (frame < 0 || frame >= imageCount())
return false;
m_page = frame;