[QGIS Commit] r11740 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Oct 1 10:02:30 EDT 2009


Author: timlinux
Date: 2009-10-01 10:02:29 -0400 (Thu, 01 Oct 2009)
New Revision: 11740

Modified:
   trunk/qgis/src/app/qgscontinuouscolordialog.cpp
   trunk/qgis/src/app/qgsgraduatedsymboldialog.cpp
Log:
Applied patch from #1962

Modified: trunk/qgis/src/app/qgscontinuouscolordialog.cpp
===================================================================
--- trunk/qgis/src/app/qgscontinuouscolordialog.cpp	2009-10-01 00:21:51 UTC (rev 11739)
+++ trunk/qgis/src/app/qgscontinuouscolordialog.cpp	2009-10-01 14:02:29 UTC (rev 11740)
@@ -45,7 +45,7 @@
   for ( QgsFieldMap::const_iterator it = fields.begin(); it != fields.end(); ++it )
   {
     QVariant::Type type = it->type();
-    if ( type == QVariant::Int || type == QVariant::Double )
+    if ( type == QVariant::Int || type == QVariant::Double || type == QVariant::LongLong )
     {
       displayName = mVectorLayer->attributeDisplayName( it.key() );
       classificationComboBox->addItem( displayName, it.key() );

Modified: trunk/qgis/src/app/qgsgraduatedsymboldialog.cpp
===================================================================
--- trunk/qgis/src/app/qgsgraduatedsymboldialog.cpp	2009-10-01 00:21:51 UTC (rev 11739)
+++ trunk/qgis/src/app/qgsgraduatedsymboldialog.cpp	2009-10-01 14:02:29 UTC (rev 11740)
@@ -44,7 +44,7 @@
   for ( QgsFieldMap::const_iterator it = fields.begin(); it != fields.end(); ++it )
   {
     QVariant::Type type = ( *it ).type();
-    if ( type == QVariant::Int || type == QVariant::Double )
+    if ( type == QVariant::Int || type == QVariant::Double || type == QVariant::LongLong )
     {
       displayName = layer->attributeDisplayName( it.key() );
       classificationComboBox->addItem( displayName );



More information about the QGIS-commit mailing list