Fix "Unpin" for tasks pinned to specific activities.

Summary:
requestRemoveLauncherFromActivities() had no code path handling
NULL_UUID.

BUG:375373

Reviewers: #plasma, ivan

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D4233
wilder-5.14
Eike Hein 9 years ago
parent ecc280bfd2
commit cc8ff3008a
  1. 3
      libtaskmanager/launchertasksmodel.cpp

@ -241,6 +241,9 @@ bool LauncherTasksModel::Private::requestRemoveLauncherFromActivities(const QUrl
}
}
} else if (isOnAllActivities(activities)) {
remove = true;
} else {
// We weren't on all activities, just remove those that
// we were on

Loading…
Cancel
Save