Commit 6a1fc208 authored by Laurent Montel's avatar Laurent Montel 😁

We have a new signal in 5.7 when scrollposition changed

parent 608243e0
......@@ -96,7 +96,9 @@ MailWebEngineView::MailWebEngineView(KActionCollection *ac, QWidget *parent)
QWebEngineProfile::defaultProfile()->setHttpCacheType(QWebEngineProfile::MemoryHttpCache);
setFocusPolicy(Qt::WheelFocus);
connect(d->mPageEngine, &MailWebEnginePage::urlClicked, this, &MailWebEngineView::openUrl);
//TODO need info about scrolling
#if QT_VERSION >= 0x050700
connect(page(), &QWebEnginePage::scrollPositionChanged, d->mWebViewAccessKey, &WebEngineViewer::WebEngineAccessKey::hideAccessKeys);
#endif
}
MailWebEngineView::~MailWebEngineView()
......
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