Commit b9041d12 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove commented code

parent f3098852
......@@ -319,7 +319,7 @@ void WebEngineAccessKey::handleSearchAccessKey(const QVariant &res)
}
}
QVector<WebEngineViewer::WebEngineAccessKeyAnchor> unLabeledElements;
QRect viewport = d->mWebEngine->rect();//QRect(d->mWebEngine->page()->mainFrame()->scrollPosition(), d->mWebEngine->page()->viewportSize());
QRect viewport = d->mWebEngine->rect();
Q_FOREACH (const WebEngineViewer::WebEngineAccessKeyAnchor &element, anchorList) {
const QRect geometry = element.boundingRect();
if (geometry.size().isEmpty() || !viewport.contains(geometry.topLeft())) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment