Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Messagelib
Commits
8c0b91f2
Commit
8c0b91f2
authored
Apr 01, 2016
by
Laurent Montel
😁
Browse files
Remove it
parent
0bcf3158
Changes
1
Hide whitespace changes
Inline
Side-by-side
messageviewer/src/viewer/webengine/mailwebengineview.cpp
View file @
8c0b91f2
...
...
@@ -210,17 +210,7 @@ void MailWebEngineView::setElementByIdVisible(const QString &id, bool visible)
void
MailWebEngineView
::
removeAttachmentMarking
(
const
QString
&
id
)
{
qDebug
()
<<
"bool MailWebEngineView::removeAttachmentMarking(const QString &id) not implemented"
;
page
()
->
runJavaScript
(
MessageViewer
::
WebEngineScript
::
removeStyleToElement
(
QLatin1String
(
"*#"
)
+
id
));
#if 0
QWebElement doc = page()->mainFrame()->documentElement();
QWebElement attachmentDiv = doc.findFirst(QLatin1String("*#") + id);
if (attachmentDiv.isNull()) {
return false;
}
attachmentDiv.removeAttribute(QStringLiteral("style"));
#endif
}
void
MailWebEngineView
::
markAttachment
(
const
QString
&
id
,
const
QString
&
style
)
...
...
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