Skip to content
Permalink
Browse files

Remove no longer required QgsProcessingContext::UseSelectionIfPresent…

… flag

Since using selection is now a per-feature-source setting
  • Loading branch information
nyalldawson committed Jun 5, 2017
1 parent ed09a8a commit 3bd74aef5283b9a13420ccc06014e1d8d0e72006
Showing with 2 additions and 2 deletions.
  1. +1 −1 python/core/processing/qgsprocessingcontext.sip
  2. +1 −1 src/core/processing/qgsprocessingcontext.h
@@ -27,7 +27,7 @@ class QgsProcessingContext

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

@@ -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 )

0 comments on commit 3bd74ae

Please sign in to comment.
You can’t perform that action at this time.