summaryrefslogtreecommitdiffstats
path: root/src/pdf/qpdfdocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdf/qpdfdocument.cpp')
-rw-r--r--src/pdf/qpdfdocument.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pdf/qpdfdocument.cpp b/src/pdf/qpdfdocument.cpp
index 42cd2492d..1e8a0f527 100644
--- a/src/pdf/qpdfdocument.cpp
+++ b/src/pdf/qpdfdocument.cpp
@@ -420,6 +420,8 @@ QPdfDocument::~QPdfDocument()
QPdfDocument::DocumentError QPdfDocument::load(const QString &fileName)
{
+ qCDebug(qLcDoc) << "loading" << fileName;
+
close();
d->setStatus(QPdfDocument::Loading);
@@ -761,7 +763,7 @@ QPdfSelection QPdfDocument::getSelection(int page, QPointF start, QPointF end)
return QPdfSelection(text, bounds);
}
- qDebug(qLcDoc) << page << start << "->" << end << "nothing found";
+ qCDebug(qLcDoc) << page << start << "->" << end << "nothing found";
return QPdfSelection();
}