on xenial help sign in
Fix valgrind warning by not emitting reset on model destructor

That won't be supported until Qt 5.4 More info at https://bugreports.qt-project.org/browse/QTBUG-39780

commit4034bbc5b70861e550f315db8b3d27a4125f4735 authorAlbert Astals <albert.astals@canonical.com> dateTue 1 Jul 2014, 11:49 (12 years ago) parent9ecb67c
1 file changed+1−1
tests/mocks/Unity/Indicators/fakeindicatorsmodel.cpp+1−1
tests/mocks/Unity/Indicators/fakeindicatorsmodel.cpp+1−1
@@ -31,7 +31,7 @@ FakeIndicatorsModel::FakeIndicatorsModel(QObject *parent)
3131/*! \internal */
3232FakeIndicatorsModel::~FakeIndicatorsModel()
3333{
34− unload();
34+ qDeleteAll(m_indicators);
3535}
3636
3737int FakeIndicatorsModel::count() const