From e27f43898fb265af2500b464675c474097b4ef17 Mon Sep 17 00:00:00 2001 From: Martin Rys Date: Fri, 20 Sep 2024 16:30:25 +0200 Subject: [PATCH] Switch to active_profile2 to get rid of the deprecated active_profile --- src/mainwindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */