on xenial help sign in
Revert "Add mir::FreeStyleType"
8f05874Marius Gripsgard
plugins/Unity/Launcher/launchermodel.cpp+1−1
@@ -574,7 +574,7 @@ void LauncherModel::updateSurfaceListForApp(ApplicationInfoInterface* app)
574 QList<QPair<QString, QString> > surfaces;
574 QList<QPair<QString, QString> > surfaces;
575 for (int i = 0; i < app->surfaceList()->count(); ++i) {
575 for (int i = 0; i < app->surfaceList()->count(); ++i) {
576 MirSurfaceInterface* iface = app->surfaceList()->get(i);
576 MirSurfaceInterface* iface = app->surfaceList()->get(i);
577− if (iface->type() == Mir::NormalType || iface->type() == Mir::DialogType || iface->type() == Mir::FreeStyleType) {
577+ if (iface->type() == Mir::NormalType || iface->type() == Mir::DialogType) {
578 // Avoid duplicate connections, so let's just disconnect first to be sure
578 // Avoid duplicate connections, so let's just disconnect first to be sure
579 disconnect(iface, &MirSurfaceInterface::nameChanged, this, &LauncherModel::updateSurfaceListForSurface);
579 disconnect(iface, &MirSurfaceInterface::nameChanged, this, &LauncherModel::updateSurfaceListForSurface);
580 connect(iface, &MirSurfaceInterface::nameChanged, this, &LauncherModel::updateSurfaceListForSurface);
580 connect(iface, &MirSurfaceInterface::nameChanged, this, &LauncherModel::updateSurfaceListForSurface);