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
b8743788
Commit
b8743788
authored
Apr 02, 2016
by
Laurent Montel
😁
Browse files
Clean up
parent
5981ca92
Changes
1
Show whitespace changes
Inline
Side-by-side
messageviewer/src/webengine/webenginescript.cpp
View file @
b8743788
...
@@ -198,22 +198,4 @@ QString WebEngineScript::toggleFullAddressList(const QString &field, const QStri
...
@@ -198,22 +198,4 @@ QString WebEngineScript::toggleFullAddressList(const QString &field, const QStri
.
arg
(
MessageViewer
::
WebEngineScript
::
setElementByIdVisible
(
hiddenFullStr
,
doShow
));
.
arg
(
MessageViewer
::
WebEngineScript
::
setElementByIdVisible
(
hiddenFullStr
,
doShow
));
qDebug
()
<<
"QString WebEngineScript::injectAttachments(const QString &delayedHtml, const QString &elementStr) :"
<<
source
;
qDebug
()
<<
"QString WebEngineScript::injectAttachments(const QString &delayedHtml, const QString &elementStr) :"
<<
source
;
return
source
;
return
source
;
#if 0
if (mViewer->replaceInnerHtml(QLatin1String("iconFull") + field + QLatin1String("AddressList"),
bind(&ViewerPrivate::recipientsQuickListLinkHtml, this, doShow, field))) {
// Then show/hide the full address list
mViewer->setElementByIdVisible(QLatin1String("dotsFull") + field + QLatin1String("AddressList"), !doShow);
mViewer->setElementByIdVisible(QLatin1String("hiddenFull") + field + QLatin1String("AddressList"), doShow);
}
qDebug() << "bool MailWebEngineView::replaceInnerHtml(const QString &id, const boost::function<QString()> &delayedHtml)";
QWebElement doc = page()->currentFrame()->documentElement();
QWebElement tag = doc.findFirst(QLatin1String("*#") + id);
if (tag.isNull()) {
return false;
}
tag.setInnerXml(delayedHtml());
return true;
#endif
//TODO
return
{};
}
}
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