From f7d7706a1e4ad7b9ee1bcac8bb1af7a640afcad6 Mon Sep 17 00:00:00 2001 From: wonder Date: Fri, 25 Mar 2011 21:05:08 +0000 Subject: [PATCH] Default value for limit git-svn-id: http://svn.osgeo.org/qgis/trunk@15601 c8812cc2-4d05-0410-92ff-de0c093fc19c --- python/core/qgsvectorlayer.sip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/core/qgsvectorlayer.sip b/python/core/qgsvectorlayer.sip index ae1a7556ab6..5e9cb45cba8 100644 --- a/python/core/qgsvectorlayer.sip +++ b/python/core/qgsvectorlayer.sip @@ -596,7 +596,7 @@ public: @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& uniqueValues /Out/, int limit ); + void uniqueValues( int index, QList& uniqueValues /Out/, int limit = -1 ); /**Returns minimum value for an attribute column or invalid variant in case of error @note added in 1.7*/