mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
mr
This commit is contained in:
parent
6a46aab83d
commit
fd36fd7c88
2 changed files with 8 additions and 5 deletions
|
|
@ -614,7 +614,10 @@ void ConferenceInfoCore::save() {
|
|||
thisCopy->writeIntoModel(mConferenceInfoModel);
|
||||
thisCopy->deleteLater();
|
||||
confSchedulerModel->setInfo(linphoneConf);
|
||||
mCoreModelConnection->invokeToCore([this]() { setSelf(mCoreModelConnection->mCore); });
|
||||
mCoreModelConnection->invokeToCore([this]() {
|
||||
setSelf(mCoreModelConnection->mCore);
|
||||
emit dataSaved();
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -42,9 +42,9 @@ ConferenceInfoProxy::ConferenceInfoProxy(QObject *parent) : LimitProxy(parent) {
|
|||
[this](QSharedPointer<ConferenceInfoCore> data) {
|
||||
auto sortModel = dynamic_cast<SortFilterList *>(sourceModel());
|
||||
sortModel->invalidate(); // New conf => sort change. Filter can change if on current date.
|
||||
static const QMetaMethod confInfoCreatedSignal =
|
||||
static const QMetaMethod conferenceInfoCreatedSignal =
|
||||
QMetaMethod::fromSignal(&ConferenceInfoProxy::conferenceInfoCreated);
|
||||
if (isSignalConnected(confInfoCreatedSignal)) emit conferenceInfoCreated(new ConferenceInfoGui(data));
|
||||
if (isSignalConnected(conferenceInfoCreatedSignal)) emit conferenceInfoCreated(new ConferenceInfoGui(data));
|
||||
},
|
||||
Qt::QueuedConnection);
|
||||
// When the date of a conference is being modified, it can be moved at another index,
|
||||
|
|
@ -52,9 +52,9 @@ ConferenceInfoProxy::ConferenceInfoProxy(QObject *parent) : LimitProxy(parent) {
|
|||
connect(
|
||||
mList.get(), &ConferenceInfoList::confInfoUpdated, this,
|
||||
[this](QSharedPointer<ConferenceInfoCore> data) {
|
||||
static const QMetaMethod confInfoUpdatedSignal =
|
||||
static const QMetaMethod conferenceInfoUpdatedSignal =
|
||||
QMetaMethod::fromSignal(&ConferenceInfoProxy::conferenceInfoUpdated);
|
||||
if (isSignalConnected(confInfoUpdatedSignal)) emit conferenceInfoUpdated(new ConferenceInfoGui(data));
|
||||
if (isSignalConnected(conferenceInfoUpdatedSignal)) emit conferenceInfoUpdated(new ConferenceInfoGui(data));
|
||||
},
|
||||
Qt::QueuedConnection);
|
||||
connect(mList.get(), &ConferenceInfoList::initialized, this, &ConferenceInfoProxy::initialized);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue