[QGIS Commit] r15601 - trunk/qgis/python/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Mar 25 17:05:08 EDT 2011


Author: wonder
Date: 2011-03-25 14:05:08 -0700 (Fri, 25 Mar 2011)
New Revision: 15601

Modified:
   trunk/qgis/python/core/qgsvectorlayer.sip
Log:
Default value for limit


Modified: trunk/qgis/python/core/qgsvectorlayer.sip
===================================================================
--- trunk/qgis/python/core/qgsvectorlayer.sip	2011-03-25 20:30:29 UTC (rev 15600)
+++ trunk/qgis/python/core/qgsvectorlayer.sip	2011-03-25 21:05:08 UTC (rev 15601)
@@ -596,7 +596,7 @@
       @param uniqueValues out: result list
       @limit maximum number of values to return (-1 if unlimited)
       @note: this method was added in version 1.7*/
-    void uniqueValues( int index, QList<QVariant>& uniqueValues /Out/, int limit );
+    void uniqueValues( int index, QList<QVariant>& uniqueValues /Out/, int limit = -1 );
 
     /**Returns minimum value for an attribute column or invalid variant in case of error
          @note added in 1.7*/



More information about the QGIS-commit mailing list