From 3b339813794390bdce59fa1009cf71506e0cec2b Mon Sep 17 00:00:00 2001 From: albert-github Date: Sun, 23 Mar 2014 12:55:27 +0100 Subject: 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). --- src/htmlhelp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/htmlhelp.cpp b/src/htmlhelp.cpp index 754893d..a5bce1b 100644 --- a/src/htmlhelp.cpp +++ b/src/htmlhelp.cpp @@ -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); } -- cgit v0.12