KCM: Add possibility to move stream to other devices
Review Request #127492 - Created March 25, 2016 and submitted
Add combobox next to mute button with available devices.
While I like seeing this option return, especially with your other "Primary Device" patch makes this UI really cluttered.
What about having a drop down button with the device icon rather than the full-blown text in there? So you'll at least be able to tell at a glance "it's on my headset" or so
Is this needed given you set it above? or does ComboBox in its infinite wisdom try to find it on its own as soon as you change the model?
Is there a way you can make this a component used by both items?
probably needs a property string role: "Source" so it can tell between whether to use Source or Sink and then you could do
currentIndex = mapToIndex(model[role + "Index"])
and rest looks identical to me?
I don't think this label is needed
I'd rather do:
sourceComponent: deviceComboBox // with that always being a valid component
active: model.sources.length > 1
Makes it more obvious imho, I wouldn't expect the sourceComponent to change elsewhere
Revision 2 (+154 -30)