From d7bb8b6621f0f37bd80809bf5be22a3456d5a055 Mon Sep 17 00:00:00 2001 From: Edric Milaret <edric.ladent-milaret@savoirfairelinux.com> Date: Mon, 25 Jan 2016 15:27:16 -0500 Subject: [PATCH] recentmodel: don't select item on insert There is no reason to select a node when inserting it We already do the select on other places Change-Id: I02ab16bee3a58562e56a435a07bd6a433dacf367 --- src/recentmodel.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/recentmodel.cpp b/src/recentmodel.cpp index b0961e86..e41e4ed7 100644 --- a/src/recentmodel.cpp +++ b/src/recentmodel.cpp @@ -661,7 +661,6 @@ void RecentModelPrivate::insertNode(RecentViewNode* n, time_t t, bool isNew) q_ptr->endMoveRows(); else q_ptr->endInsertRows(); - q_ptr->selectionModel()->select(q_ptr->index(n->m_Index, 0), QItemSelectionModel::ClearAndSelect); #if 0 //Uncomment if there is issues -- GitLab