Skip to content

Commit

Permalink
Fix PyQgsLayerDependencies with pyqt5
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Mercier committed Sep 5, 2016
1 parent 5c3a43e commit 7e6d641
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion ci/travis/linux/qt5/blacklist.txt
Expand Up @@ -7,7 +7,6 @@ PyQgsServerAccessControl
PyQgsSipCoverage
PyQgsVirtualLayerDefinition
PyQgsVirtualLayerProvider
PyQgsLayerDependencies
qgis_composermapgridtest
qgis_composerutils
ProcessingGrass7AlgorithmsImageryTest
Expand Down
7 changes: 7 additions & 0 deletions python/core/qgsmaplayerdependency.sip
Expand Up @@ -30,7 +30,14 @@ class QgsMapLayerDependency
//! Return the ID of the layer this dependency depends on
QString layerId() const;

//! Comparison operator
bool operator==( const QgsMapLayerDependency& other ) const;

//! hash operator
long __hash__() const;
%MethodCode
sipRes = qHash( *sipCpp );
%End
};


0 comments on commit 7e6d641

Please sign in to comment.