on xenial help sign in
fix broken mock
fea0773Michael Zanetti
tests/mocks/Unity/Application/ApplicationInfo.cpp+1
@@ -56,6 +56,7 @@ ApplicationInfo::ApplicationInfo(const QString &appId, QObject *parent)
56 : ApplicationInfoInterface(appId, parent)
56 : ApplicationInfoInterface(appId, parent)
57 , m_appId(appId)
57 , m_appId(appId)
58 , m_surfaceList(new MirSurfaceListModel(this))
58 , m_surfaceList(new MirSurfaceListModel(this))
59+ , m_promptSurfaceList(new MirSurfaceListModel(this))
59{
60{
60 connect(m_surfaceList, &MirSurfaceListModel::countChanged,
61 connect(m_surfaceList, &MirSurfaceListModel::countChanged,
61 this, &ApplicationInfo::onSurfaceCountChanged, Qt::QueuedConnection);
62 this, &ApplicationInfo::onSurfaceCountChanged, Qt::QueuedConnection);