[QGIS Commit] r13126 - trunk/qgis/src/core/composer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Mar 21 05:32:03 EDT 2010


Author: jef
Date: 2010-03-21 05:31:54 -0400 (Sun, 21 Mar 2010)
New Revision: 13126

Modified:
   trunk/qgis/src/core/composer/qgslegendmodel.cpp
Log:
fix warning

Modified: trunk/qgis/src/core/composer/qgslegendmodel.cpp
===================================================================
--- trunk/qgis/src/core/composer/qgslegendmodel.cpp	2010-03-20 23:41:55 UTC (rev 13125)
+++ trunk/qgis/src/core/composer/qgslegendmodel.cpp	2010-03-21 09:31:54 UTC (rev 13126)
@@ -126,6 +126,8 @@
     currentSymbolItem->setFlags( Qt::ItemIsEnabled | Qt::ItemIsSelectable );
     layerItem->setChild( layerItem->rowCount(), 0, currentSymbolItem );
   }
+
+  return 0;
 }
 
 int QgsLegendModel::addVectorLayerItems( QStandardItem* layerItem, QgsVectorLayer* vlayer )



More information about the QGIS-commit mailing list