summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/htmlhelp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htmlhelp.cpp b/src/htmlhelp.cpp
index c4b8950..c1e535d 100644
--- a/src/htmlhelp.cpp
+++ b/src/htmlhelp.cpp
@@ -709,6 +709,6 @@ void HtmlHelp::addIndexItem(Definition *context,MemberDef *md,
void HtmlHelp::addImageFile(const char *fileName)
{
- imageFiles.append(fileName);
+ if (!imageFiles.contains(fileName)) imageFiles.append(fileName);
}