@@ -584,10 +584,8 @@ void LauncherModel::updateSurfaceListForApp(ApplicationInfoInterface* app)
584 surfaces.append({iface->persistentId(), name});
584 surfaces.append({iface->persistentId(), name});
587− if (!surfaces.isEmpty()) {
588− item->setSurfaces(surfaces);
587+ item->setSurfaces(surfaces);
589− Q_EMIT dataChanged(index(idx), index(idx), {RoleSurfaceCount});
588+ Q_EMIT dataChanged(index(idx), index(idx), {RoleSurfaceCount});
593void LauncherModel::applicationRemoved(const QModelIndex &parent, int row)
591void LauncherModel::applicationRemoved(const QModelIndex &parent, int row)