Skip to content

Commit

Permalink
Attempt to fix doxygen warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 8, 2019
1 parent fe8b7c0 commit 0137798
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Expand Up @@ -24,7 +24,7 @@ Dialog for organising (hiding and reordering) columns in the attributes table.
%End
public:

QgsOrganizeTableColumnsDialog( const QgsVectorLayer *vl, QgsAttributeTableConfig config, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::Window );
QgsOrganizeTableColumnsDialog( const QgsVectorLayer *vl, const QgsAttributeTableConfig &config, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::Window );
%Docstring
Constructor

Expand Down
2 changes: 1 addition & 1 deletion src/gui/attributetable/qgsorganizetablecolumnsdialog.cpp
Expand Up @@ -42,7 +42,7 @@
#include "qgsgui.h"


QgsOrganizeTableColumnsDialog::QgsOrganizeTableColumnsDialog( const QgsVectorLayer *vl, QgsAttributeTableConfig config, QWidget *parent, Qt::WindowFlags flags )
QgsOrganizeTableColumnsDialog::QgsOrganizeTableColumnsDialog( const QgsVectorLayer *vl, const QgsAttributeTableConfig &config, QWidget *parent, Qt::WindowFlags flags )
: QDialog( parent, flags )
{
setupUi( this );
Expand Down
3 changes: 2 additions & 1 deletion src/gui/attributetable/qgsorganizetablecolumnsdialog.h
Expand Up @@ -23,6 +23,7 @@

#include "qgsattributetableconfig.h"
#include "qgis_gui.h"
#include "qgis_sip.h"

class QgsVectorLayer;

Expand All @@ -45,7 +46,7 @@ class GUI_EXPORT QgsOrganizeTableColumnsDialog : public QDialog, private Ui::Qgs
* \param config attribute table config to use.
* \param flags window flags
*/
QgsOrganizeTableColumnsDialog( const QgsVectorLayer *vl, QgsAttributeTableConfig config, QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags flags = Qt::Window );
QgsOrganizeTableColumnsDialog( const QgsVectorLayer *vl, const QgsAttributeTableConfig &config, QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags flags = Qt::Window );

/**
* Constructor
Expand Down

0 comments on commit 0137798

Please sign in to comment.