Skip to content
Permalink
Browse files

Apply PR review comments

  • Loading branch information
elpaso committed Dec 9, 2019
1 parent b261732 commit 5dd15ed3f196d33a46728f29628fe6c7ebec83b8
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/app/qgisapp.h
  2. +1 −1 src/core/qgsweakrelation.h
@@ -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,
@@ -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;

0 comments on commit 5dd15ed

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