Skip to content

Commit

Permalink
adapt path
Browse files Browse the repository at this point in the history
(cherry picked from commit 2bd6c27)
  • Loading branch information
roya0045 authored and nyalldawson committed Dec 21, 2020
1 parent 4eb8f10 commit 710d99a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgshandlebadlayers.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ void QgsHandleBadLayers::apply()
} }
if ( !( item->data( Qt::UserRole + 2 ).isValid() && item->data( Qt::UserRole + 2 ).toBool() ) ) if ( !( item->data( Qt::UserRole + 2 ).isValid() && item->data( Qt::UserRole + 2 ).toBool() ) )
{ {
datasource = QDir::toNativeSeparators( checkBasepath( layerId, datasource, fileName ).replace( fileName, longName ) ); datasource = QDir::toNativeSeparators( checkBasepath( layerId, basepath, fileName ).replace( fileName, longName ) );
} }


bool dataSourceChanged { false }; bool dataSourceChanged { false };
Expand Down

0 comments on commit 710d99a

Please sign in to comment.