1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-10 03:53:23 +02:00

conversationsadapter: select first conversation

It's more useful than the welcome view

GitLab: #645
Change-Id: Icf79aaff5c2cd1d9faf8481ba20f68e7b095d8c1
This commit is contained in:
Sébastien Blin 2022-01-18 11:34:29 -05:00
parent 93da093ba6
commit 0c1b1cd426

View file

@ -141,6 +141,9 @@ ConversationsAdapter::safeInit()
Qt::UniqueConnection);
connectConversationModel();
// Select the first conversation, more useful than the welcome view
convModel_->select(0);
}
void
@ -155,6 +158,9 @@ ConversationsAdapter::onCurrentAccountIdChanged()
// case of programmatic selection(incoming call, notification
// activation, etc.).
set_filterRequests(false);
// Select the first conversation, more useful than the welcome view
convModel_->select(0);
}
void