Skip to content
Permalink
Browse files

[widget editor][fix #13486] follow up #2316 and 5ac5217

  • Loading branch information
slarosa committed Oct 15, 2015
1 parent 0ded855 commit c7e732b2c7ef25da9aec40456a15e71f5f3e08b4
@@ -36,7 +36,7 @@ QString QgsDefaultSearchWidgetWrapper::expression()
return mExpression;
}

void QgsDefaultSearchWidgetWrapper::setCaseString( Qt::CheckState caseSensitiveCheckState )
void QgsDefaultSearchWidgetWrapper::setCaseString( int caseSensitiveCheckState )
{
if ( caseSensitiveCheckState == Qt::Checked )
{
@@ -74,7 +74,6 @@ void QgsDefaultSearchWidgetWrapper::setExpression( QString exp )
"%" + exp.replace( "'", "''" ) + "%" ); // escape quotes
}
mExpression = str;
emit expressionChanged( mExpression );
}

QWidget* QgsDefaultSearchWidgetWrapper::createWidget( QWidget* parent )
@@ -41,7 +41,7 @@ class GUI_EXPORT QgsDefaultSearchWidgetWrapper : public QgsSearchWidgetWrapper
void setExpression( QString exp ) override;

private slots:
void setCaseString( Qt::CheckState );
void setCaseString( int caseSensitiveCheckState );
void filterChanged();

protected:

0 comments on commit c7e732b

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