mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-28 01:04:41 +08:00
amend last commit
This commit is contained in:
parent
4078fe2a4a
commit
179aee62fc
@ -693,6 +693,7 @@ int EasyDescTreeWidget::findPrev(const QString& _str, Qt::MatchFlags _flags)
|
|||||||
m_lastSearch = _str;
|
m_lastSearch = _str;
|
||||||
m_lastFound = !itemsList.empty() ? itemsList.front() : nullptr;
|
m_lastFound = !itemsList.empty() ? itemsList.front() : nullptr;
|
||||||
|
|
||||||
|
m_highlightItems.reserve(itemsList.size());
|
||||||
for (auto item : itemsList)
|
for (auto item : itemsList)
|
||||||
{
|
{
|
||||||
m_highlightItems.push_back(item);
|
m_highlightItems.push_back(item);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user