Skip to content
Permalink
Browse files

fix precise build

  • Loading branch information
jef-n committed Jan 28, 2016
1 parent fa66583 commit 9f520466180ebd4ceba7e31d34977264cd83bb29
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/editorwidgets/qgsexternalresourcewidgetfactory.cpp
@@ -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() );
}

0 comments on commit 9f52046

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