Commit f88eab9a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile with last kpimtextedit

parent 11815cce
Pipeline #29843 passed with stage
in 7 minutes and 26 seconds
......@@ -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::ImageWithNamePtr> images = edit.composerControler()->composerImages()->imagesWithName();
const KPIMTextEdit::ImageWithNameList images = edit.composerControler()->composerImages()->imagesWithName();
ret.reserve(images.count());
for (const KPIMTextEdit::ImageWithNamePtr &image : images) {
ret << image->name;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment