Skip to content
Permalink
Browse files

Don't require a parent for QgsExpressionBuilderWidget

  • Loading branch information
m-kuhn committed May 13, 2016
1 parent d07d9ed commit 9080aa1988dc62397da3863eae6b5244123cfa3e
Showing with 5 additions and 2 deletions.
  1. +1 −1 python/gui/qgsexpressionbuilderwidget.sip
  2. +4 −1 src/gui/qgsexpressionbuilderwidget.h
@@ -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.
You can’t perform that action at this time.