mirror of
https://gitlab.freedesktop.org/pulseaudio/pavucontrol.git
synced 2025-12-20 07:40:03 +01:00
Switch to active_profile2 to get rid of the deprecated active_profile
This commit is contained in:
parent
121f2a86c3
commit
e27f43898f
1 changed files with 1 additions and 1 deletions
|
|
@ -441,7 +441,7 @@ void MainWindow::updateCard(const pa_card_info &info) {
|
|||
w->availableProfiles[profileIt->name] = available;
|
||||
}
|
||||
|
||||
w->activeProfile = info.active_profile ? info.active_profile->name : "";
|
||||
w->activeProfile = info.active_profile2 ? info.active_profile2->name : "";
|
||||
|
||||
/* Because the port info for sinks and sources is discontinued we need
|
||||
* to update the port info for them here. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue