Skip to content
Permalink
Browse files

Fix warning

  • Loading branch information
nyalldawson committed Feb 18, 2015
1 parent 1e97b62 commit 0df6dee839d8eef59e6f5388319ffdb6905ed985
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgsproject.cpp
@@ -191,7 +191,7 @@ QgsProperty *addKey_( QString const &scope,

return currentProperty;
}
else if ( nextProperty = currentProperty->find( keySequence.first() ) )
else if (( nextProperty = currentProperty->find( keySequence.first() ) ) )
{
currentProperty = dynamic_cast<QgsPropertyKey*>( nextProperty );

@@ -206,7 +206,7 @@ QgsProperty *addKey_( QString const &scope,
}
else // the next subkey doesn't exist, so add it
{
if ( newPropertyKey = currentProperty->addKey( keySequence.first() ) )
if (( newPropertyKey = currentProperty->addKey( keySequence.first() ) ) )
{
currentProperty = newPropertyKey;
}

0 comments on commit 0df6dee

Please sign in to comment.
You can’t perform that action at this time.