on xenial help sign in
Fix crash in the shell test
8c1f691Albert Astals
tests/mocks/Unity/Launcher/MockLauncherModel.cpp−4
@@ -46,10 +46,6 @@ MockLauncherModel::MockLauncherModel(QObject* parent): LauncherModelInterface(pa
46
46
47MockLauncherModel::~MockLauncherModel()
47MockLauncherModel::~MockLauncherModel()
48{
48{
49− while (!m_list.empty())
50− {
51− m_list.takeFirst()->deleteLater();
52− }
53}
49}
54
50
55int MockLauncherModel::rowCount(const QModelIndex& parent) const
51int MockLauncherModel::rowCount(const QModelIndex& parent) const