Commit ecaa2e3e authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 693537 - Create possibility to keep user comments in Doxyfile

parent ed4ed873
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <qstrlist.h> #include <qstrlist.h>
#include <qdict.h> #include <qdict.h>
#include <qlist.h> #include <qlist.h>
#include <qregexp.h>
#include "ftextstream.h" #include "ftextstream.h"
...@@ -518,7 +519,7 @@ class Config ...@@ -518,7 +519,7 @@ class Config
{ {
QCString result=m_userComment; QCString result=m_userComment;
m_userComment.resize(0); m_userComment.resize(0);
return result; return result.replace(QRegExp("\r"),"");
} }
protected: protected:
......
...@@ -856,7 +856,7 @@ void Config::writeTemplate(FTextStream &t,bool sl,bool upd) ...@@ -856,7 +856,7 @@ void Config::writeTemplate(FTextStream &t,bool sl,bool upd)
if (m_userComment) if (m_userComment)
{ {
t << "\n"; t << "\n";
t << m_userComment; t << takeUserComment();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment