Skip to content
Permalink
Browse files

Fix some warnings

  • Loading branch information
m-kuhn committed Jul 28, 2014
1 parent 3737094 commit 53e1aba839f59ad3fa970c1b2c443520337e9476
Showing with 2 additions and 0 deletions.
  1. +1 −0 src/app/qgsfeatureaction.cpp
  2. +1 −0 src/gui/qgsattributeform.cpp
@@ -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.
You can’t perform that action at this time.