Skip to content
Permalink
Browse files

Fix build error

  • Loading branch information
NathanW2 committed Jun 11, 2013
1 parent 21aecd5 commit f8cafe81b42838ed4afea9507be4eac9a7dd69d1
Showing with 4 additions and 4 deletions.
  1. +4 −4 python/core/qgsfeature.sip
@@ -121,15 +121,15 @@ class QgsFeature

if (fieldIdx >= 0)
{
QVariant& v = sipCpp->attribute(fieldIdx);
QVariant v = sipCpp->attribute(fieldIdx);
if ( v.isNull() )
sipRes = Py_None;
else
sipRes = sipConvertFromInstance( &v, sipClass_QVariant, Py_None );
}
else if( altfieldIdx >= 0 )
{
QVariant& v = sipCpp->attribute(altfieldIdx);
QVariant v = sipCpp->attribute(altfieldIdx);
if ( v.isNull() )
sipRes = Py_None;
else
@@ -218,7 +218,7 @@ class QgsFeature
}
else
{
QVariant& v = sipCpp->attribute(fieldIdx);
QVariant v = sipCpp->attribute(fieldIdx);
if ( v.isNull() )
sipRes = Py_None;
else
@@ -463,7 +463,7 @@ class QgsFeature
}
else
{
QVariant& v = sipCpp->attribute(fieldIdx);
QVariant v = sipCpp->attribute(fieldIdx);
if ( v.isNull() )
sipRes = Py_None;
else

0 comments on commit f8cafe8

Please sign in to comment.
You can’t perform that action at this time.