Commit 7a462117 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Move fix

parent 05850ade
...@@ -393,7 +393,7 @@ void MailWebEngineAccessKey::handleSearchAccessKey(const QVariant &res) ...@@ -393,7 +393,7 @@ void MailWebEngineAccessKey::handleSearchAccessKey(const QVariant &res)
handleDuplicateLinkElements(element, &d->mDuplicateLinkElements, &accessKey, d->mWebEngine->url()); handleDuplicateLinkElements(element, &d->mDuplicateLinkElements, &accessKey, d->mWebEngine->url());
if (!accessKey.isNull()) { if (!accessKey.isNull()) {
qDebug()<<" Other text "<<text << " accesskey"<<accessKey<< " href"<<element.href() << " test "<<element.innerText(); qDebug()<<" Other text "<<text << " accesskey"<<accessKey<< " href"<<element.href() << " test "<<element.innerText() << "bounding "<< element.boundingRect();
unusedKeys.removeOne(accessKey); unusedKeys.removeOne(accessKey);
makeAccessKeyLabel(accessKey, element); makeAccessKeyLabel(accessKey, element);
} }
......
...@@ -28,7 +28,7 @@ QString MessageViewer::MailWebEngineAccessKeyUtils::script() ...@@ -28,7 +28,7 @@ QString MessageViewer::MailWebEngineAccessKeyUtils::script()
" text: matches[i].innerText," " text: matches[i].innerText,"
" tagName: matches[i].tagName," " tagName: matches[i].tagName,"
" src: matches[i].href," " src: matches[i].href,"
" boundingRect: [r.top, r.left, r.width, r.height]," " boundingRect: [r.top, r.left, r.right - r.left, r.bottom - r.top],"
" accessKey: matches[i].getAttribute('accesskey')," " accessKey: matches[i].getAttribute('accesskey'),"
" target: matches[i].getAttribute('target')" " target: matches[i].getAttribute('target')"
" });" " });"
......
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