on xenial help sign in
no need to emit RoleRunning twice
commit32a3b24dcda7b10abf22ce1f630beeeb9b06130c authorLukáš Tinkl <lukas.tinkl@canonical.com> dateTue 7 Jul 2015, 16:45 (11 years ago) parentf127d7e
1 file changed+1−1
plugins/Unity/Launcher/launchermodel.cpp+1−1
plugins/Unity/Launcher/launchermodel.cpp+1−1
@@ -533,7 +533,7 @@ void LauncherModel::applicationRemoved(const QModelIndex &parent, int row)
533533 m_list.takeAt(appIndex)->deleteLater();
534534 endRemoveRows();
535535 m_asAdapter->syncItems(m_list);
536− Q_EMIT dataChanged(index(appIndex), index(appIndex), {RolePinned, RoleRunning});
536+ Q_EMIT dataChanged(index(appIndex), index(appIndex), {RolePinned});
537537 }
538538 Q_EMIT dataChanged(index(appIndex), index(appIndex), {RoleRunning});
539539}