Commit 5c15bf41 authored by Laurent Montel's avatar Laurent Montel 😁

Use QWebEngine API

parent 15f9de1d
......@@ -304,7 +304,13 @@ bool MailWebEngineView::isAttachmentInjectionPoint(const QPoint &globalPos) cons
void MailWebEngineView::scrollToRelativePosition(qreal pos)
#if QT_VERSION >= 0x050700
const QPointF currentPos = page()->scrollPosition();
const QPointF newPos(currentPos.x(), pos);
qreal MailWebEngineView::relativePosition() const
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