Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Apr 4, 2014
1 parent 72b3812 commit 8bd80f4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion python/core/composer/qgsatlascomposition.sip
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public:

QString sortKeyAttributeName() const;
void setSortKeyAttributeName( QString fieldName );

int sortKeyAttributeIndex() const /Deprecated/;
void setSortKeyAttributeIndex( int idx ) /Deprecated/;

Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgsmaplayermodel.sip
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class QgsMapLayerModel : QAbstractItemModel
%TypeHeaderCode
#include "qgsmaplayermodel.h"
%End

public:
static const int LayerIdRole;

Expand Down
3 changes: 0 additions & 3 deletions src/gui/qgsfieldmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsfieldmodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8bd80f4

Please sign in to comment.