mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
fix windows build
This commit is contained in:
parent
72b3812a0f
commit
8bd80f43c5
@ -19,9 +19,6 @@
|
||||
#include "qgslogger.h"
|
||||
|
||||
|
||||
const int QgsFieldModel::FieldIndexRole = Qt::UserRole + 1;
|
||||
const int QgsFieldModel::FieldNameRole = Qt::UserRole + 2;
|
||||
|
||||
QgsFieldModel::QgsFieldModel( QObject *parent )
|
||||
: QAbstractItemModel( parent )
|
||||
, mLayer( NULL )
|
||||
|
@ -32,7 +32,7 @@ class GUI_EXPORT QgsFieldModel : public QAbstractItemModel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
static const int FieldNameRole, FieldIndexRole;
|
||||
enum { FieldNameRole = Qt::UserRole + 1, FieldIndexRole = Qt::UserRole + 2 };
|
||||
|
||||
/**
|
||||
* @brief QgsFieldModel creates a model to display the fields of a given layer
|
||||
|
Loading…
x
Reference in New Issue
Block a user