Skip to content
Permalink
Browse files
Fix some warnings
  • Loading branch information
m-kuhn committed Jul 28, 2014
1 parent 3737094 commit 53e1aba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
@@ -223,6 +223,7 @@ bool QgsFeatureAction::addFeature( const QgsAttributeMap& defaultAttributes )
void QgsFeatureAction::onFeatureSaved( const QgsFeature& feature )
{
QgsAttributeForm* form = qobject_cast<QgsAttributeForm*>( sender() );
Q_UNUSED( form ) // only used for Q_ASSERT
Q_ASSERT( form );

mFeatureSaved = true;
@@ -245,6 +245,7 @@ void QgsAttributeForm::onAttributeChanged( const QVariant& value )

void QgsAttributeForm::onAttributeAdded( int idx )
{
Q_UNUSED( idx ) // only used for Q_ASSERT
if ( mFeature.isValid() )
{
QgsAttributes attrs = mFeature.attributes();

0 comments on commit 53e1aba

Please sign in to comment.