0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-27 08:41:02 +08:00

amend last commit

This commit is contained in:
Victor Zarubkin 2016-12-21 23:21:35 +03:00
parent 4078fe2a4a
commit 179aee62fc

View File

@ -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);