Skip to content

Commit

Permalink
fix precise build
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jan 28, 2016
1 parent fa66583 commit 9f52046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/editorwidgets/qgsexternalresourcewidgetfactory.cpp
Expand Up @@ -94,8 +94,8 @@ QgsEditorWidgetConfig QgsExternalResourceWidgetFactory::readConfig( const QDomEl

if ( configElement.hasAttribute( "RelativeStorage" ) )
{
if (( configElement.attribute( "RelativeStorage" ).toInt() == QgsFileWidget::RelativeStorage::RelativeDefaultPath && configElement.hasAttribute( "DefaultRoot" ) ) ||
configElement.attribute( "RelativeStorage" ).toInt() == QgsFileWidget::RelativeStorage::RelativeProject )
if (( configElement.attribute( "RelativeStorage" ).toInt() == QgsFileWidget::RelativeDefaultPath && configElement.hasAttribute( "DefaultRoot" ) ) ||
configElement.attribute( "RelativeStorage" ).toInt() == QgsFileWidget::RelativeProject )
cfg.insert( "RelativeStorage" , configElement.attribute( "RelativeStorage" ).toInt() );
}

Expand Down

0 comments on commit 9f52046

Please sign in to comment.