on xenial help sign in
Fix valgrind warning by not emitting reset on model destructor
4034bbcAlbert Astals
tests/mocks/Unity/Indicators/fakeindicatorsmodel.cpp+1−1
@@ -31,7 +31,7 @@ FakeIndicatorsModel::FakeIndicatorsModel(QObject *parent)
31/*! \internal */
31/*! \internal */
32FakeIndicatorsModel::~FakeIndicatorsModel()
32FakeIndicatorsModel::~FakeIndicatorsModel()
33{
33{
34− unload();
34+ qDeleteAll(m_indicators);
35}
35}
36
36
37int FakeIndicatorsModel::count() const
37int FakeIndicatorsModel::count() const