Skip to content
Permalink
Browse files

fix xenial (Qt <5.7) build

  • Loading branch information
jef-n committed Mar 8, 2018
1 parent 5710709 commit ad224991ecbc4cffe31a5c3c0b1ccfd91ae633ff
Showing with 16 additions and 0 deletions.
  1. +16 −0 src/core/processing/qgsprocessingparametertypeimpl.h
@@ -393,7 +393,11 @@ class CORE_EXPORT QgsProcessingParameterTypeVectorDestination : public QgsProces
{
ParameterFlags flags = QgsProcessingParameterType::flags();

#if QT_VERSION >= 0x50700
flags.setFlag( ParameterFlag::ExposeToModeler, false );
#else
flags &= ~ParameterFlag::ExposeToModeler;
#endif

return flags;
}
@@ -435,7 +439,11 @@ class CORE_EXPORT QgsProcessingParameterTypeFileDestination : public QgsProcessi
{
ParameterFlags flags = QgsProcessingParameterType::flags();

#if QT_VERSION >= 0x50700
flags.setFlag( ParameterFlag::ExposeToModeler, false );
#else
flags &= ~ParameterFlag::ExposeToModeler;
#endif

return flags;
}
@@ -478,7 +486,11 @@ class CORE_EXPORT QgsProcessingParameterTypeFolderDestination : public QgsProces
{
ParameterFlags flags = QgsProcessingParameterType::flags();

#if QT_VERSION >= 0x50700
flags.setFlag( ParameterFlag::ExposeToModeler, false );
#else
flags &= ~ParameterFlag::ExposeToModeler;
#endif

return flags;
}
@@ -520,7 +532,11 @@ class CORE_EXPORT QgsProcessingParameterTypeRasterDestination : public QgsProces
{
ParameterFlags flags = QgsProcessingParameterType::flags();

#if QT_VERSION >= 0x50700
flags.setFlag( ParameterFlag::ExposeToModeler, false );
#else
flags &= ~ParameterFlag::ExposeToModeler;
#endif

return flags;
}

0 comments on commit ad22499

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