Skip to content
Permalink
Browse files

fix windows build

  • Loading branch information
jef-n committed Oct 29, 2017
1 parent 5b64af1 commit cfba4c4d0944f00ca8978476d976e9564d3aa406
@@ -206,6 +206,7 @@ QgsPoint QgsCurve::childPoint( int index ) const
QgsVertexId::VertexType type;
bool res = pointAt( index, point, type );
Q_ASSERT( res );
Q_UNUSED( res );
return point;
}

@@ -381,7 +381,7 @@ QgsField QgsAuxiliaryLayer::createAuxiliaryField( const QgsPropertyDefinition &d

if ( !def.name().isEmpty() || !def.comment().isEmpty() )
{
QVariant::Type type;
QVariant::Type type = QVariant::Invalid;
QString typeName;
int len( 0 ), precision( 0 );
switch ( def.dataType() )
@@ -313,9 +313,9 @@ void QgsFeatureFilterModel::scheduledReload()
if ( mFilterValue.isEmpty() && !mFilterExpression.isEmpty() )
filterClause = mFilterExpression;
else if ( mFilterExpression.isEmpty() && !mFilterValue.isEmpty() )
filterClause = QStringLiteral( "(%1) ILIKE '\%%2\%'" ).arg( mDisplayExpression, mFilterValue );
filterClause = QStringLiteral( "(%1) ILIKE '%%2%'" ).arg( mDisplayExpression, mFilterValue );
else if ( !mFilterExpression.isEmpty() && !mFilterValue.isEmpty() )
filterClause = QStringLiteral( "(%1) AND ((%2) ILIKE '\%%3\%')" ).arg( mFilterExpression, mDisplayExpression, mFilterValue );
filterClause = QStringLiteral( "(%1) AND ((%2) ILIKE '%%3%')" ).arg( mFilterExpression, mDisplayExpression, mFilterValue );

if ( !filterClause.isEmpty() )
request.setFilterExpression( filterClause );
@@ -39,7 +39,7 @@ class CORE_EXPORT QgsVectorLayerUtils
*
* \since QGIS 3.0
*/
class QgsDuplicateFeatureContext
class CORE_EXPORT QgsDuplicateFeatureContext
{
public:

0 comments on commit cfba4c4

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