summaryrefslogtreecommitdiffstats
path: root/src/reflist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/reflist.cpp')
-rw-r--r--src/reflist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reflist.cpp b/src/reflist.cpp
index e60bcc6..ab40b9d 100644
--- a/src/reflist.cpp
+++ b/src/reflist.cpp
@@ -21,7 +21,6 @@
#include "util.h"
#include "ftextstream.h"
#include "definition.h"
-#include <qregexp.h>
/*! Create a list of items that are cross referenced with documentation blocks
* @param listName String representing the name of the list.
@@ -170,7 +169,8 @@ void RefList::generatePage()
// write declaration in case a function with arguments
if (!item->args.isEmpty())
{
- doc += item->args.replace(QRegExp("@"),"@@");
+ // escape @'s in argument list, needed for Java annotations (see issue #6208)
+ doc += substitute(item->args,"@","@@");
}
doc += "</dt><dd> ";
doc += item->text;