Commit 3b339813 authored by albert-github's avatar albert-github
Browse files

Chm don't add images multiple times

Don 't add image to list in case it is already present (happened for image extsearch_flow.png in the doxygen manual).
parent 683ef76f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -693,6 +693,6 @@ void HtmlHelp::addIndexItem(Definition *context,MemberDef *md,

void HtmlHelp::addImageFile(const char *fileName)
{
  imageFiles.append(fileName);
  if (!imageFiles.contains(fileName)) imageFiles.append(fileName);
}