From 85ca6d79ce8b49fcd14d5d7df1dab3e5f5480cb8 Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Fri, 8 Nov 2024 10:03:31 +0100 Subject: [PATCH] Fix mwi indicator not showing on main screen + voicemail count background transparent --- Linphone/core/account/AccountCore.hpp | 3 ++- Linphone/view/Control/Display/Contact/Voicemail.qml | 1 + Linphone/view/Page/Layout/Main/MainLayout.qml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Linphone/core/account/AccountCore.hpp b/Linphone/core/account/AccountCore.hpp index 48bd85f54..8006cf9f5 100644 --- a/Linphone/core/account/AccountCore.hpp +++ b/Linphone/core/account/AccountCore.hpp @@ -72,7 +72,6 @@ class AccountCore : public QObject, public AbstractObject { lSetAudioVideoConferenceFactoryAddress NOTIFY audioVideoConferenceFactoryAddressChanged) Q_PROPERTY(QString limeServerUrl READ getLimeServerUrl WRITE lSetLimeServerUrl NOTIFY limeServerUrlChanged) DECLARE_CORE_GET(int, voicemailCount, VoicemailCount) - DECLARE_CORE_GET(bool, showMwi, ShowMwi) DECLARE_CORE_GETSET_MEMBER(QString, voicemailAddress, VoicemailAddress) public: @@ -143,6 +142,8 @@ public: void onAudioVideoConferenceFactoryAddressChanged(QString value); void onLimeServerUrlChanged(QString value); + DECLARE_CORE_GET(bool, showMwi, ShowMwi) + signals: void pictureUriChanged(); void registrationStateChanged(const QString &message); diff --git a/Linphone/view/Control/Display/Contact/Voicemail.qml b/Linphone/view/Control/Display/Contact/Voicemail.qml index 0f583922b..22225582f 100644 --- a/Linphone/view/Control/Display/Contact/Voicemail.qml +++ b/Linphone/view/Control/Display/Contact/Voicemail.qml @@ -12,6 +12,7 @@ Rectangle{ width: 27 * DefaultStyle.dp height: 28 * DefaultStyle.dp signal clicked() + color: 'transparent' Button { anchors.bottom: parent.bottom anchors.left: parent.left diff --git a/Linphone/view/Page/Layout/Main/MainLayout.qml b/Linphone/view/Page/Layout/Main/MainLayout.qml index bd6c06f31..750dc1e49 100644 --- a/Linphone/view/Page/Layout/Main/MainLayout.qml +++ b/Linphone/view/Page/Layout/Main/MainLayout.qml @@ -406,7 +406,7 @@ Item { delegate: Item { Connections { target: modelData.core - onMwiChanged: updateCumulatedMwi() + onShowMwiChanged: voicemail.updateCumulatedMwi() } } }