mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-17 20:08:28 +00:00
reset lists data if core is not On
This commit is contained in:
parent
4215a35c3e
commit
e4531b072d
1 changed files with 6 additions and 0 deletions
|
|
@ -752,6 +752,12 @@ void App::initCore() {
|
|||
if (!mChatList) setChatList(ChatList::create());
|
||||
else mChatList->lUpdate();
|
||||
disconnect(this, &App::coreStartedChanged, this, nullptr);
|
||||
} else {
|
||||
if (mAccountList) mAccountList->resetData();
|
||||
if (mCallList) mCallList->resetData();
|
||||
if (mCallHistoryList) mCallHistoryList->resetData();
|
||||
if (mChatList) mChatList->resetData();
|
||||
if (mConferenceInfoList) mConferenceInfoList->resetData();
|
||||
}
|
||||
};
|
||||
if (mCoreStarted) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue