Clear filters when the scanning stops.
This commit is contained in:
parent
4c73922154
commit
7e97daae4e
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,6 @@ FilteredDeviceProxyModel::FilteredDeviceProxyModel( QObject * parent )
|
|||
d(new PrivateData)
|
||||
{
|
||||
d->filtered = false;
|
||||
d->filters.clear();
|
||||
}
|
||||
|
||||
FilteredDeviceProxyModel::~FilteredDeviceProxyModel() {
|
||||
|
@ -72,6 +71,7 @@ void FilteredDeviceProxyModel::addFilter( const QString &filter ) {
|
|||
|
||||
void FilteredDeviceProxyModel::showAll() {
|
||||
d->filtered = false;
|
||||
d->filters.clear();
|
||||
invalidateFilter();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue