[kcms/phonon] Don't overwrite audio profile entries with same priority

Review Request #124108 - Created June 16, 2015 and submitted

Information
Bernie Innocenti
plasma-desktop
dfebeb4...
Reviewers
plasma
sitter
My system has 3 HDMI ports, and HDMI2 is listed in pavucontrol,
but not in kcm_phonon. The reason was that HDMI2 and HDMI3 had the
same priority, and were overwriting each other in the cardInfo profiles
map. The fix consists in switching to a multimap.

Manually tested with:
QT_PLUGIN_PATH="$PWD:$QT_PLUGIN_PATH" kcmshell5 kcm_phonon

Harald Sitter
Harald Sitter
Bernie Innocenti
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 4b576cd02867672069c8077a43bb7caf442de8cc by Harald Sitter on behalf of Bernie Innocenti to branch Plasma/5.3.
Loading...