Skip to content
Snippets Groups Projects
Commit 0c1b1cd4 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

conversationsadapter: select first conversation

It's more useful than the welcome view

GitLab: #645
Change-Id: Icf79aaff5c2cd1d9faf8481ba20f68e7b095d8c1
parent 93da093b
No related branches found
No related tags found
No related merge requests found
...@@ -141,6 +141,9 @@ ConversationsAdapter::safeInit() ...@@ -141,6 +141,9 @@ ConversationsAdapter::safeInit()
Qt::UniqueConnection); Qt::UniqueConnection);
connectConversationModel(); connectConversationModel();
// Select the first conversation, more useful than the welcome view
convModel_->select(0);
} }
void void
...@@ -155,6 +158,9 @@ ConversationsAdapter::onCurrentAccountIdChanged() ...@@ -155,6 +158,9 @@ ConversationsAdapter::onCurrentAccountIdChanged()
// case of programmatic selection(incoming call, notification // case of programmatic selection(incoming call, notification
// activation, etc.). // activation, etc.).
set_filterRequests(false); set_filterRequests(false);
// Select the first conversation, more useful than the welcome view
convModel_->select(0);
} }
void void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment