diff --git a/linphone-app/src/components/contact/VcardModel.cpp b/linphone-app/src/components/contact/VcardModel.cpp index bb814e2f1..b02e92e44 100644 --- a/linphone-app/src/components/contact/VcardModel.cpp +++ b/linphone-app/src/components/contact/VcardModel.cpp @@ -302,7 +302,7 @@ bool VcardModel::addSipAddress (const QString &sipAddress) { return false; } - qInfo() << QStringLiteral("Add new sip address on vcard: `%1`.").arg(sipAddress); + qInfo() << QStringLiteral("Add new sip address on vcard: `%1` from `%2`.").arg(QString::fromStdString(interpretedSipAddress)).arg(sipAddress); emit vcardUpdated(); return true; diff --git a/linphone-app/src/components/timeline/TimelineModel.cpp b/linphone-app/src/components/timeline/TimelineModel.cpp index d5273c379..36355e497 100644 --- a/linphone-app/src/components/timeline/TimelineModel.cpp +++ b/linphone-app/src/components/timeline/TimelineModel.cpp @@ -102,7 +102,10 @@ void TimelineModel::setSelected(const bool& selected){ mChatRoomModel->initEntries(); } emit selectedChanged(mSelected); - } + }else if(selected)// Warning, Setting to true is only when we want to force a selection. It's why we send a signal only in this case. We want avoid to change the counter on timelines that are already unselected. + // This only work because we want at least only one timeline selected + emit selectedChanged(mSelected); + } void TimelineModel::updateUnreadCount(){ diff --git a/linphone-app/ui/views/App/Main/ContactEdit.js b/linphone-app/ui/views/App/Main/ContactEdit.js index e73f103ca..2d5e3bf72 100644 --- a/linphone-app/ui/views/App/Main/ContactEdit.js +++ b/linphone-app/ui/views/App/Main/ContactEdit.js @@ -167,6 +167,7 @@ function handleValueChanged (fields, index, oldValue, newValue, add, update) { : vcard[update](oldValue, newValue) fields.setInvalid(index, !soFarSoGood) + handleVcardChanged(vcard) } function handleSipAddressChanged () { diff --git a/linphone-app/ui/views/App/Main/Dialogs/EphemeralChatRoom.qml b/linphone-app/ui/views/App/Main/Dialogs/EphemeralChatRoom.qml index 2fb231697..3da974a09 100644 --- a/linphone-app/ui/views/App/Main/Dialogs/EphemeralChatRoom.qml +++ b/linphone-app/ui/views/App/Main/Dialogs/EphemeralChatRoom.qml @@ -116,7 +116,6 @@ DialogPlus { { text:qsTr('nHour', '', 1).arg(1), value:3600}, //: '%1 day' { text:qsTr('nDay', '', 1).arg(1), value:86400}, - //: '%1 days' { text:qsTr('nDay', '', 3).arg(3), value:259200}, //: '%1 week' { text:qsTr('nWeek', '', 1).arg(1), value:604800}