Fix mwi indicator not showing on main screen + voicemail count background transparent

This commit is contained in:
Christophe Deschamps 2024-11-08 10:03:31 +01:00
parent 6f06380f1c
commit 85ca6d79ce
3 changed files with 4 additions and 2 deletions

View file

@ -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);

View file

@ -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

View file

@ -406,7 +406,7 @@ Item {
delegate: Item {
Connections {
target: modelData.core
onMwiChanged: updateCumulatedMwi()
onShowMwiChanged: voicemail.updateCumulatedMwi()
}
}
}