int8_classify.patch
src/app/qgscontinuouscolordialog.cpp (working copy) | ||
---|---|---|
45 | 45 |
for ( QgsFieldMap::const_iterator it = fields.begin(); it != fields.end(); ++it ) |
46 | 46 |
{ |
47 | 47 |
QVariant::Type type = it->type(); |
48 |
if ( type == QVariant::Int || type == QVariant::Double ) |
|
48 |
if ( type == QVariant::Int || type == QVariant::Double || type == QVariant::LongLong )
|
|
49 | 49 |
{ |
50 | 50 |
displayName = mVectorLayer->attributeDisplayName( it.key() ); |
51 | 51 |
classificationComboBox->addItem( displayName, it.key() ); |
src/app/qgsgraduatedsymboldialog.cpp (working copy) | ||
---|---|---|
44 | 44 |
for ( QgsFieldMap::const_iterator it = fields.begin(); it != fields.end(); ++it ) |
45 | 45 |
{ |
46 | 46 |
QVariant::Type type = ( *it ).type(); |
47 |
if ( type == QVariant::Int || type == QVariant::Double ) |
|
47 |
if ( type == QVariant::Int || type == QVariant::Double || type == QVariant::LongLong )
|
|
48 | 48 |
{ |
49 | 49 |
displayName = layer->attributeDisplayName( it.key() ); |
50 | 50 |
classificationComboBox->addItem( displayName ); |