Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
99fccb6d
Commit
99fccb6d
authored
Apr 14, 2009
by
Oswald Buddenhagen
Browse files
do not crash on lines starting with an equal sign
parent
b1ea36bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/proparser/profileevaluator.cpp
View file @
99fccb6d
...
...
@@ -357,6 +357,9 @@ void ProFileEvaluator::Private::insertVariable(const QString &line, int *i)
{
ProVariable
::
VariableOperator
opkind
;
if
(
m_proitem
.
isEmpty
())
// Line starting with '=', like a conflict marker
return
;
switch
(
m_proitem
.
at
(
m_proitem
.
length
()
-
1
).
unicode
())
{
case
'+'
:
m_proitem
.
chop
(
1
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment