Commit b6fb8da6 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

make quoting in the prl writer more robust



this is just a fragment of the original commit and doesn't do anything
in qtcreator. it's there to reduce the diff.

Change-Id: Idd9f64ac608b7e4ed840d5d9925bf741e03d78ab
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@theqtcompany.com>
(cherry picked from qtbase/009df82f1ada7c934931efab2950f4bf356c90a6)
parent e1932b00
...@@ -215,8 +215,8 @@ static QString windowsErrorCode() ...@@ -215,8 +215,8 @@ static QString windowsErrorCode()
} }
#endif #endif
static QString QString
quoteValue(const ProString &val) QMakeEvaluator::quoteValue(const ProString &val)
{ {
QString ret; QString ret;
ret.reserve(val.size()); ret.reserve(val.size());
......
...@@ -251,6 +251,8 @@ public: ...@@ -251,6 +251,8 @@ public:
enum { m_skipLevel = 0 }; enum { m_skipLevel = 0 };
#endif #endif
static QString quoteValue(const ProString &val);
#ifdef PROEVALUATOR_DEBUG #ifdef PROEVALUATOR_DEBUG
void debugMsgInternal(int level, const char *fmt, ...) const; void debugMsgInternal(int level, const char *fmt, ...) const;
void traceMsgInternal(const char *fmt, ...) const; void traceMsgInternal(const char *fmt, ...) const;
......
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