Skip to content

Commit 206080b

Browse files
author
mhugent
committed
Fix warning
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13484 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent a994582 commit 206080b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgslegendinterface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class GUI_EXPORT QgsLegendInterface : public QObject
5151
virtual QStringList groups() = 0;
5252

5353
//! Return the relationship between groups and layers in the legend
54-
virtual QList< GroupLayerInfo > groupLayerRelationship() {}
54+
virtual QList< GroupLayerInfo > groupLayerRelationship() { return QList< GroupLayerInfo >(); }
5555

5656
//! Return all layers in the project in legend order
5757
//! @note added in 1.5

0 commit comments

Comments
 (0)