on xenial help sign in
Remove ApplicationInfo destructor fix as Saviq already did it in trunk in the meantime
commitda0ec724251e0b4b0333849c9610e86d93a5c6d5 authorDaniel d'Andrada <daniel.dandrada@canonical.com> dateMon 18 Aug 2014, 14:15 (12 years ago) parent646118d
1 file changed−3
tests/mocks/Unity/Application/ApplicationInfo.cpp−3
tests/mocks/Unity/Application/ApplicationInfo.cpp−3
@@ -54,9 +54,6 @@ ApplicationInfo::ApplicationInfo(QObject *parent)
5454ApplicationInfo::~ApplicationInfo()
5555{
5656 if (m_surface) {
57− // break the cyclic reference before destroying it
58− m_surface->setApplication(nullptr);
59−
6057 Q_EMIT SurfaceManager::singleton()->surfaceDestroyed(m_surface);
6158 m_surface->deleteLater();
6259 setSurface(nullptr);