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() } } }