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
KIdentityManagement
Commits
f88eab9a
Commit
f88eab9a
authored
Aug 06, 2020
by
Laurent Montel
😁
Browse files
Make it compile with last kpimtextedit
parent
11815cce
Pipeline
#29843
passed with stage
in 7 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/signature.cpp
View file @
f88eab9a
...
...
@@ -165,7 +165,7 @@ static QStringList findImageNames(const QString &htmlCode)
// To complicated for us, so cheat and let a text edit do the hard work
KPIMTextEdit
::
RichTextComposer
edit
;
edit
.
setHtml
(
htmlCode
);
const
QList
<
KPIMTextEdit
::
ImageWithName
Ptr
>
images
=
edit
.
composerControler
()
->
composerImages
()
->
imagesWithName
();
const
KPIMTextEdit
::
ImageWithName
List
images
=
edit
.
composerControler
()
->
composerImages
()
->
imagesWithName
();
ret
.
reserve
(
images
.
count
());
for
(
const
KPIMTextEdit
::
ImageWithNamePtr
&
image
:
images
)
{
ret
<<
image
->
name
;
...
...
Write
Preview
Supports
Markdown
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