Skip to content
Permalink
Browse files
Don't require a parent for QgsExpressionBuilderWidget
  • Loading branch information
m-kuhn committed May 16, 2016
1 parent d07d9ed commit 9080aa1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
@@ -79,7 +79,7 @@ class QgsExpressionBuilderWidget : QWidget
%End

public:
QgsExpressionBuilderWidget( QWidget *parent /TransferThis/ );
QgsExpressionBuilderWidget( QWidget *parent /TransferThis/ = nullptr );
~QgsExpressionBuilderWidget();

/** Sets layer in order to get the fields and values
@@ -118,7 +118,10 @@ class GUI_EXPORT QgsExpressionBuilderWidget : public QWidget, private Ui::QgsExp
{
Q_OBJECT
public:
QgsExpressionBuilderWidget( QWidget *parent );
/**
* Create a new expression builder widget with an optional parent.
*/
QgsExpressionBuilderWidget( QWidget* parent = nullptr );
~QgsExpressionBuilderWidget();

/** Sets layer in order to get the fields and values

0 comments on commit 9080aa1

Please sign in to comment.