Skip to content

applets/taskmanager: Always set mprisSourceName to parentPid

Nate Graham requested to merge ngraham/plasma-desktop:fix-error into master

Conditionally setting mprisSourceName to either AppPid or pidParent made no sense, because:

  1. AppPid was not defined in this file so it didn't work
  2. pidParent was set to the value of AppPid anyway, rendering the two branches of the conditional identical even if it did work

Just set it to pidParent directly. This fixes a console error.

Merge request reports