Skip to content
Permalink
Browse files

no case default and removed unused doc

  • Loading branch information
signedav committed Sep 10, 2018
1 parent 0acf991 commit a5fc39100a0eb62e483bd495cde07eb58c60a4f8
@@ -52,9 +52,6 @@ writes the ``qmlCode`` into a temporary file

virtual void setFeature( const QgsFeature &feature );

%Docstring
passes the ``feature`` into the context property of the widget
%End

};

@@ -472,9 +472,11 @@ QTreeWidgetItem *QgsAttributesFormProperties::loadAttributeEditorTreeItem( QgsAt
newWidget = tree->addItem( parent, itemData );
break;
}
default:
//should not happen
case QgsAttributeEditorElement::AeTypeInvalid:
{
QgsDebugMsg( "Not loading invalid attribute editor type..." );
break;
}
}
return newWidget;
}
@@ -55,7 +55,6 @@ class GUI_EXPORT QgsQmlWidgetWrapper : public QgsWidgetWrapper

public slots:

//! passes the \a feature into the context property of the widget
void setFeature( const QgsFeature &feature ) override;

private:

0 comments on commit a5fc391

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