Skip to content

Commit

Permalink
[processing] Add flag for algorithms with known issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 5, 2019
1 parent 9f1fcb7 commit c0640c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -45,6 +45,7 @@ Abstract base class for processing algorithms.
FlagNoThreading,
FlagDisplayNameIsLiteral,
FlagSupportsInPlaceEdits,
FlagKnownIssues,
FlagDeprecated,
};
typedef QFlags<QgsProcessingAlgorithm::Flag> Flags;
Expand Down
1 change: 1 addition & 0 deletions src/core/processing/qgsprocessingalgorithm.h
Expand Up @@ -75,6 +75,7 @@ class CORE_EXPORT QgsProcessingAlgorithm
FlagNoThreading = 1 << 6, //!< Algorithm is not thread safe and cannot be run in a background thread, e.g. for algorithms which manipulate the current project, layer selections, or with external dependencies which are not thread-safe.
FlagDisplayNameIsLiteral = 1 << 7, //!< Algorithm's display name is a static literal string, and should not be translated or automatically formatted. For use with algorithms named after commands, e.g. GRASS 'v.in.ogr'.
FlagSupportsInPlaceEdits = 1 << 8, //!< Algorithm supports in-place editing
FlagKnownIssues = 1 << 9, //!< Algorithm has known issues
FlagDeprecated = FlagHideFromToolbox | FlagHideFromModeler, //!< Algorithm is deprecated
};
Q_DECLARE_FLAGS( Flags, Flag )
Expand Down

0 comments on commit c0640c6

Please sign in to comment.