Skip to content

Commit

Permalink
Add a Custom item type for QgsDataItem
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 20, 2017
1 parent 8bce7a6 commit 253c4c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion python/core/qgsdataitem.sip
Expand Up @@ -49,7 +49,8 @@ class QgsDataItem : QObject
Layer,
Error,
Favorites,
Project
Project,
Custom,
};


Expand Down
3 changes: 2 additions & 1 deletion src/core/qgsdataitem.h
Expand Up @@ -79,7 +79,8 @@ class CORE_EXPORT QgsDataItem : public QObject
Layer,
Error,
Favorites, //!< Represents a favorite item
Project //!< Represents a QGIS project
Project, //!< Represents a QGIS project
Custom, //!< Custom item type
};

Q_ENUM( Type );
Expand Down

0 comments on commit 253c4c7

Please sign in to comment.