Skip to content

Commit

Permalink
remove setReloadTime because it's not used anymore
Browse files Browse the repository at this point in the history
cherry-picked from 8a22667
  • Loading branch information
signedav committed Oct 30, 2018
1 parent 374862c commit 11ebdee
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 16 deletions.
5 changes: 0 additions & 5 deletions python/core/auto_generated/qgsfeaturefiltermodel.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,6 @@ Add a NULL entry to the list.
void setAllowNull( bool allowNull );
%Docstring
Add a NULL entry to the list.
%End

void setReloadTimerInterval( int interval );
%Docstring
Set the model reload timer interval in milliseconds
%End

signals:
Expand Down
5 changes: 0 additions & 5 deletions src/core/qgsfeaturefiltermodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,3 @@ void QgsFeatureFilterModel::setExtraIdentifierValue( const QVariant &extraIdenti

emit extraIdentifierValueChanged();
}

void QgsFeatureFilterModel::setReloadTimerInterval( int interval )
{
mReloadTimer.setInterval( interval );
}
5 changes: 0 additions & 5 deletions src/core/qgsfeaturefiltermodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,6 @@ class CORE_EXPORT QgsFeatureFilterModel : public QAbstractItemModel
*/
void setAllowNull( bool allowNull );

/**
* Set the model reload timer interval in milliseconds
*/
void setReloadTimerInterval( int interval );

signals:

/**
Expand Down
1 change: 0 additions & 1 deletion src/gui/qgsfeaturelistcombobox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ QgsFeatureListComboBox::QgsFeatureListComboBox( QWidget *parent )
mCompleter->setFilterMode( Qt::MatchContains );
setCompleter( mCompleter );
mCompleter->setWidget( this );
mModel->setReloadTimerInterval( 1000 );
connect( mModel, &QgsFeatureFilterModel::sourceLayerChanged, this, &QgsFeatureListComboBox::sourceLayerChanged );
connect( mModel, &QgsFeatureFilterModel::displayExpressionChanged, this, &QgsFeatureListComboBox::displayExpressionChanged );
connect( mModel, &QgsFeatureFilterModel::filterExpressionChanged, this, &QgsFeatureListComboBox::filterExpressionChanged );
Expand Down

0 comments on commit 11ebdee

Please sign in to comment.