summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-05 20:57:52 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-05 20:57:52 (GMT)
commit843e1e8bdbae71e0ed450646c75610a0a93204f8 (patch)
tree274685c06f854e42e6b9b10b8f0c9e47a81b4dab
parent05feb8b022121cc6625c59172685de2f0a2c5fa3 (diff)
Remove debug
-rw-r--r--webengineviewer/src/webenginescript.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/webengineviewer/src/webenginescript.cpp b/webengineviewer/src/webenginescript.cpp
index 24931ae..1d00de0 100644
--- a/webengineviewer/src/webenginescript.cpp
+++ b/webengineviewer/src/webenginescript.cpp
@@ -121,7 +121,6 @@ QString WebEngineScript::searchElementPosition(const QString &elementStr)
" var geometry = element.getBoundingClientRect(); "
" [(geometry.left + window.scrollX), (geometry.top + window.scrollY)]; "
"}").arg(elementStr);
- //qDebug()<<" source "<<source;
return source;
}
@@ -132,8 +131,6 @@ QString WebEngineScript::scrollPercentage(int percent)
"var height = docElement.clientHeight;"
"var newPosition = current + height * %1 /100;"
"window.scrollTo(window.scrollX, newPosition);").arg(percent);
-
- //qDebug() << "QString WebEngineScript::scrollPercentage(int percent) " << source;
return source;
}
@@ -152,7 +149,6 @@ QString WebEngineScript::scrollDown(int pixel)
QString WebEngineScript::scrollToPosition(const QPoint &pos)
{
const QString source = QString::fromLatin1("window.scrollTo(%1, %2); [window.scrollX, window.scrollY];").arg(pos.x()).arg(pos.y());
- //qDebug()<<" source "<<source;
return source;
}
@@ -171,7 +167,6 @@ QString WebEngineScript::setStyleToElement(const QString &elementStr, const QStr
"if (element) { "
" element.style = '%2';"
"}").arg(elementStr).arg(style);
- //qDebug() << "QString WebEngineScript::setStyleToElement(const QString &elementStr, const QString &style) " << source;
return source;
}