1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-24 12:46:35 +01:00

LocationComplterRefreshJob: Set HistoryRole for most visited completions

Closes #2570
This commit is contained in:
David Rosca 2018-01-26 09:58:30 +01:00
parent 99ceda4324
commit 52076009e0
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -214,6 +214,7 @@ void LocationCompleterRefreshJob::completeMostVisited()
item->setData(query.value(0), LocationCompleterModel::IdRole);
item->setData(query.value(2), LocationCompleterModel::TitleRole);
item->setData(url, LocationCompleterModel::UrlRole);
item->setData(true, LocationCompleterModel::HistoryRole);
m_items.append(item);
}