Skip to content

Commit

Permalink
Apply PR review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Dec 19, 2019
1 parent b261732 commit 5dd15ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/qgisapp.h
Expand Up @@ -2027,8 +2027,8 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
/**
* Searches for layer dependencies by querying the form widgets and the
* \a vectorLayer itself for broken relations. Style \a categories can be
* used to exclude one of the currently implemented search categories
* ("Forms" for the form widgets and "Relations" for layer weak relations).
* used to limit the search to one or more of the currently implemented search
* categories ("Forms" for the form widgets and "Relations" for layer weak relations).
* \return a list of weak references to broken layer dependencies
*/
const QList< QgsVectorLayerRef > findBrokenLayerDependencies( QgsVectorLayer *vectorLayer,
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsweakrelation.h
Expand Up @@ -103,7 +103,7 @@ class CORE_EXPORT QgsWeakRelation
QgsVectorLayerRef mReferencedLayer;
QString mRelationId;
QString mRelationName;
QgsRelation::RelationStrength mStrength;
QgsRelation::RelationStrength mStrength = QgsRelation::RelationStrength::Association;
QList<QgsRelation::FieldPair> mFieldPairs;

friend class TestQgsWeakRelation;
Expand Down

0 comments on commit 5dd15ed

Please sign in to comment.