Skip to content

Commit

Permalink
One more fix for doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Dec 12, 2016
1 parent d60f94b commit 5228cc5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions python/core/composer/qgscomposerlegend.sip
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class QgsLegendModel : QgsLayerTreeModel
%End

public:
//! Construct the model based on the given layer tree
QgsLegendModel( QgsLayerTreeGroup* rootNode, QObject *parent /TransferThis/ = 0 );

QVariant data( const QModelIndex& index, int role ) const;
Expand Down
1 change: 1 addition & 0 deletions src/core/composer/qgscomposerlegend.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class CORE_EXPORT QgsLegendModel : public QgsLayerTreeModel
Q_OBJECT

public:
//! Construct the model based on the given layer tree
QgsLegendModel( QgsLayerTreeGroup* rootNode, QObject *parent = nullptr );

QVariant data( const QModelIndex& index, int role ) const override;
Expand Down
2 changes: 1 addition & 1 deletion tests/src/python/acceptable_missing_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@
"QgsAttributeTypeLoadDialog",
"QgsProject",
"QgsDirectoryParamWidget",
"QgsLegendModelV2",
"QgsLegendModel",
"QgsLayerTreeNode",
"QgsSlopeFilter",
"QgsPointLocator_VisitorArea",
Expand Down

0 comments on commit 5228cc5

Please sign in to comment.