summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-28 19:18:49 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-28 19:21:49 (GMT)
commit892cb8d1a00b216e5215205209c9145650b140ba (patch)
tree9d405eb8a97d150b39715a6615e689bbeeef163f
parentb6c6c3a2ebe52cc848b3ebb9581db9d846aaedd6 (diff)
It works
-rw-r--r--webengineviewer/src/webenginescript.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/webengineviewer/src/webenginescript.cpp b/webengineviewer/src/webenginescript.cpp
index 3102094..12efcef 100644
--- a/webengineviewer/src/webenginescript.cpp
+++ b/webengineviewer/src/webenginescript.cpp
@@ -177,7 +177,6 @@ QString WebEngineScript::setStyleToElement(const QString &elementStr, const QStr
QString WebEngineScript::scrollToRelativePosition(qreal pos)
{
- //TODO verify it
const QString source = QString::fromLatin1("window.scrollTo(window.scrollX, %1); [window.scrollX, window.scrollY];").arg(pos);
return source;
}