[QGIS Commit] r15312 - trunk/qgis/src/plugins/sqlanywhere

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Mar 2 10:02:04 EST 2011


Author: mhugent
Date: 2011-03-02 07:02:04 -0800 (Wed, 02 Mar 2011)
New Revision: 15312

Modified:
   trunk/qgis/src/plugins/sqlanywhere/saquerybuilder.cpp
Log:
unique values from layer also for sqlanywhere

Modified: trunk/qgis/src/plugins/sqlanywhere/saquerybuilder.cpp
===================================================================
--- trunk/qgis/src/plugins/sqlanywhere/saquerybuilder.cpp	2011-03-02 14:55:42 UTC (rev 15311)
+++ trunk/qgis/src/plugins/sqlanywhere/saquerybuilder.cpp	2011-03-02 15:02:04 UTC (rev 15312)
@@ -121,7 +121,7 @@
 
   // determine the field type
   QList<QVariant> values;
-  mLayer->dataProvider()->uniqueValues( idx, values, limit );
+  mLayer->uniqueValues( idx, values, limit );
 
   for ( int i = 0; i < values.size(); i++ )
   {



More information about the QGIS-commit mailing list