Fix mwi indicator not showing on main screen + voicemail count background transparent
This commit is contained in:
parent
6f06380f1c
commit
85ca6d79ce
3 changed files with 4 additions and 2 deletions
|
|
@ -72,7 +72,6 @@ class AccountCore : public QObject, public AbstractObject {
|
||||||
lSetAudioVideoConferenceFactoryAddress NOTIFY audioVideoConferenceFactoryAddressChanged)
|
lSetAudioVideoConferenceFactoryAddress NOTIFY audioVideoConferenceFactoryAddressChanged)
|
||||||
Q_PROPERTY(QString limeServerUrl READ getLimeServerUrl WRITE lSetLimeServerUrl NOTIFY limeServerUrlChanged)
|
Q_PROPERTY(QString limeServerUrl READ getLimeServerUrl WRITE lSetLimeServerUrl NOTIFY limeServerUrlChanged)
|
||||||
DECLARE_CORE_GET(int, voicemailCount, VoicemailCount)
|
DECLARE_CORE_GET(int, voicemailCount, VoicemailCount)
|
||||||
DECLARE_CORE_GET(bool, showMwi, ShowMwi)
|
|
||||||
DECLARE_CORE_GETSET_MEMBER(QString, voicemailAddress, VoicemailAddress)
|
DECLARE_CORE_GETSET_MEMBER(QString, voicemailAddress, VoicemailAddress)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
@ -143,6 +142,8 @@ public:
|
||||||
void onAudioVideoConferenceFactoryAddressChanged(QString value);
|
void onAudioVideoConferenceFactoryAddressChanged(QString value);
|
||||||
void onLimeServerUrlChanged(QString value);
|
void onLimeServerUrlChanged(QString value);
|
||||||
|
|
||||||
|
DECLARE_CORE_GET(bool, showMwi, ShowMwi)
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void pictureUriChanged();
|
void pictureUriChanged();
|
||||||
void registrationStateChanged(const QString &message);
|
void registrationStateChanged(const QString &message);
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ Rectangle{
|
||||||
width: 27 * DefaultStyle.dp
|
width: 27 * DefaultStyle.dp
|
||||||
height: 28 * DefaultStyle.dp
|
height: 28 * DefaultStyle.dp
|
||||||
signal clicked()
|
signal clicked()
|
||||||
|
color: 'transparent'
|
||||||
Button {
|
Button {
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
|
|
||||||
|
|
@ -406,7 +406,7 @@ Item {
|
||||||
delegate: Item {
|
delegate: Item {
|
||||||
Connections {
|
Connections {
|
||||||
target: modelData.core
|
target: modelData.core
|
||||||
onMwiChanged: updateCumulatedMwi()
|
onShowMwiChanged: voicemail.updateCumulatedMwi()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue