Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
PIM Messagelib
Commits
39855d72
Commit
39855d72
authored
Apr 29, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compile
parent
d1225b0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
messageviewer/src/viewer/webengine/mailwebengineview.cpp
messageviewer/src/viewer/webengine/mailwebengineview.cpp
+0
-6
No files found.
messageviewer/src/viewer/webengine/mailwebengineview.cpp
View file @
39855d72
...
...
@@ -304,13 +304,7 @@ 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
);
page
()
->
setScrollPosition
(
newPos
);
#else
page
()
->
runJavaScript
(
WebEngineViewer
::
WebEngineScript
::
scrollToRelativePosition
(
pos
));
#endif
}
qreal
MailWebEngineView
::
relativePosition
()
const
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment