applied translation-funcation to SystemTray

This commit is contained in:
ronoaer 2023-10-06 13:43:32 +08:00
parent 1eafa9a38a
commit 1357c4a309
5 changed files with 23 additions and 6 deletions

View file

@ -139,6 +139,7 @@ void AmneziaApplication::init()
&ConnectionController::openConnection);
connect(m_notificationHandler.get(), &NotificationHandler::disconnectRequested, m_connectionController.get(),
&ConnectionController::closeConnection);
connect(this, &AmneziaApplication::translationsUpdated, m_notificationHandler.get(), &NotificationHandler::onTranslationsUpdated);
m_engine->load(url);
m_systemController->setQmlRoot(m_engine->rootObjects().value(0));