forked from qt-creator/qt-creator
Valgrind: Avoid crash when changing filter
Change-Id: Ie7b0965b21a9fde05009cc649289323cba392b63 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -165,7 +165,7 @@ void MemcheckErrorFilterProxyModel::setAcceptedKinds(const QList<int> &acceptedK
|
||||
{
|
||||
if (m_acceptedKinds != acceptedKinds) {
|
||||
m_acceptedKinds = acceptedKinds;
|
||||
invalidate();
|
||||
invalidateFilter();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -173,7 +173,7 @@ void MemcheckErrorFilterProxyModel::setFilterExternalIssues(bool filter)
|
||||
{
|
||||
if (m_filterExternalIssues != filter) {
|
||||
m_filterExternalIssues = filter;
|
||||
invalidate();
|
||||
invalidateFilter();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user