feat: drive WG via Tunnel coordinator for seamless server switch

This commit is contained in:
cd-amn
2026-05-18 16:50:38 +00:00
parent 9d69ab89d5
commit fa8014093b
10 changed files with 283 additions and 55 deletions
@@ -94,6 +94,11 @@ void CoreSignalHandlers::initErrorMessagesHandler()
m_coreController->m_connectionController->setConnectionState(Vpn::ConnectionState::Disconnected);
});
connect(m_coreController->m_connectionUiController, &ConnectionUiController::serverSwitchFailed, this, [this]() {
emit m_coreController->m_pageController->showNotificationMessage(
tr("Failed to switch server. Existing connection maintained."));
});
connect(m_coreController->m_subscriptionUiController, &SubscriptionUiController::errorOccurred, m_coreController->m_pageController,
qOverload<ErrorCode>(&PageController::showErrorMessage));