[QGIS Commit] r13484 - trunk/qgis/src/gui

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri May 14 04:31:03 EDT 2010


Author: mhugent
Date: 2010-05-14 04:30:58 -0400 (Fri, 14 May 2010)
New Revision: 13484

Modified:
   trunk/qgis/src/gui/qgslegendinterface.h
Log:
Fix warning

Modified: trunk/qgis/src/gui/qgslegendinterface.h
===================================================================
--- trunk/qgis/src/gui/qgslegendinterface.h	2010-05-14 08:26:47 UTC (rev 13483)
+++ trunk/qgis/src/gui/qgslegendinterface.h	2010-05-14 08:30:58 UTC (rev 13484)
@@ -51,7 +51,7 @@
     virtual QStringList groups() = 0;
 
     //! Return the relationship between groups and layers in the legend
-    virtual QList< GroupLayerInfo > groupLayerRelationship() {}
+    virtual QList< GroupLayerInfo > groupLayerRelationship() { return QList< GroupLayerInfo >(); }
 
     //! Return all layers in the project in legend order
     //! @note added in 1.5



More information about the QGIS-commit mailing list