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
8ee4bee6
Commit
8ee4bee6
authored
Apr 18, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Debug--
parent
061e8a1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
messageviewer/src/viewer/webengine/mailwebengineview.cpp
messageviewer/src/viewer/webengine/mailwebengineview.cpp
+3
-3
No files found.
messageviewer/src/viewer/webengine/mailwebengineview.cpp
View file @
8ee4bee6
...
...
@@ -132,7 +132,7 @@ void MailWebEngineView::selectAll()
void
MailWebEngineView
::
slotZoomChanged
(
qreal
zoom
)
{
qDebug
()
<<
" void MailWebEngineView::slotZoomChanged(qreal zoom)*******"
<<
zoom
;
//
qDebug() << " void MailWebEngineView::slotZoomChanged(qreal zoom)*******" << zoom;
setZoomFactor
(
zoom
);
}
...
...
@@ -269,12 +269,12 @@ void MailWebEngineView::toggleFullAddressList(const QString &field, const boost:
void
MailWebEngineView
::
updateToggleFullAddressList
(
const
QVariant
&
result
)
{
qDebug
()
<<
" result"
<<
result
;
//
qDebug() << " result" << result;
if
(
result
.
isValid
())
{
const
QList
<
QVariant
>
lst
=
result
.
toList
();
if
(
lst
.
count
()
==
1
)
{
const
QVariantMap
map
=
lst
.
at
(
0
).
toMap
();
qDebug
()
<<
"map !!!! "
<<
map
;
//
qDebug() << "map !!!! " << map;
const
bool
show
=
map
.
value
(
QStringLiteral
(
"show"
)).
toBool
();
const
QString
field
=
map
.
value
(
QStringLiteral
(
"field"
)).
toString
();
page
()
->
runJavaScript
(
MessageViewer
::
MailWebEngineScript
::
updateToggleFullAddressList
(
field
,
show
));
...
...
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