summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-28 19:13:22 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-28 19:21:49 (GMT)
commitb6c6c3a2ebe52cc848b3ebb9581db9d846aaedd6 (patch)
tree1ade8aaddaa3daaa55905dcd3679e119d75556fa
parent602e50f1bbcc59ac661b0ef635ba0b1f519dec7a (diff)
Add debug info
-rw-r--r--messageviewer/src/viewer/webengine/mailwebengineview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/messageviewer/src/viewer/webengine/mailwebengineview.cpp b/messageviewer/src/viewer/webengine/mailwebengineview.cpp
index e2871bc..6f1a7f2 100644
--- a/messageviewer/src/viewer/webengine/mailwebengineview.cpp
+++ b/messageviewer/src/viewer/webengine/mailwebengineview.cpp
@@ -239,6 +239,10 @@ void MailWebEngineView::hideAccessKeys()
bool MailWebEngineView::isScrolledToBottom() const
{
+#if QT_VERSION >= 0x050700
+ qDebug()<<" page position " << page()->scrollPosition().y();
+ qDebug()<<" content size " << page()->contentsSize().height();
+#endif
qDebug() << "bool MailWebEngineView::isScrolledToBottom() const not implemented";
//Convert as async
//TODO '(window.innerHeight + window.scrollY) >= document.body.offsetHeight)'