Switch to active_profile2 to get rid of the deprecated active_profile

This commit is contained in:
Martin Rys 2024-09-20 16:30:25 +02:00 committed by Arun Raghavan
parent 121f2a86c3
commit e27f43898f

View file

@ -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. */