summaryrefslogtreecommitdiffstats
path: root/src/reflist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/reflist.cpp')
-rw-r--r--src/reflist.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/reflist.cpp b/src/reflist.cpp
index ab40b9d..e702a3c 100644
--- a/src/reflist.cpp
+++ b/src/reflist.cpp
@@ -21,6 +21,7 @@
#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.
@@ -164,7 +165,7 @@ void RefList::generatePage()
doc += " \\_internalref ";
doc += item->name;
doc += " \"";
- doc += item->title;
+ doc += item->title.replace(QRegExp("\\"),"\\\\");
doc += "\" ";
// write declaration in case a function with arguments
if (!item->args.isEmpty())