src/mainwindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e27f43898fb265af2500b464675c474097b4ef17 Author: Martin Rys <[email protected]> Date: Fri Sep 20 16:30:25 2024 +0200 Switch to active_profile2 to get rid of the deprecated active_profile diff --git a/src/mainwindow.cc b/src/mainwindow.cc index c6ca964..526146d 100644 --- a/src/mainwindow.cc +++ b/src/mainwindow.cc @@ -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. */
