Skip to content

Commit

Permalink
Remove no longer required QgsProcessingContext::UseSelectionIfPresent…
Browse files Browse the repository at this point in the history
… flag

Since using selection is now a per-feature-source setting
  • Loading branch information
nyalldawson committed Jun 5, 2017
1 parent ed09a8a commit 3bd74ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/core/processing/qgsprocessingcontext.sip
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class QgsProcessingContext

enum Flag
{
UseSelectionIfPresent,
// UseSelectionIfPresent,
};
typedef QFlags<QgsProcessingContext::Flag> Flags;

Expand Down
2 changes: 1 addition & 1 deletion src/core/processing/qgsprocessingcontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class CORE_EXPORT QgsProcessingContext
//! Flags that affect how processing algorithms are run
enum Flag
{
UseSelectionIfPresent = 1 << 0, //!< Filter to selected features when running algorithms (if a selection exists)
// UseSelectionIfPresent = 1 << 0,
};
Q_DECLARE_FLAGS( Flags, Flag )

Expand Down

0 comments on commit 3bd74ae

Please sign in to comment.