Improve performance of Search results Open all

Fix #9819, close #9820
pull/9838/head
Scott Sumner 4 years ago committed by Don HO
parent dc34284146
commit 4b7e1ac794

@ -3984,11 +3984,9 @@ void Finder::removeAll()
void Finder::openAll()
{
size_t sz = _pMainFoundInfos->size();
for (size_t i = 0; i < sz; ++i)
for (auto&& path : getResultFilePaths())
{
::SendMessage(_hParent, WM_DOOPEN, 0, reinterpret_cast<LPARAM>(_pMainFoundInfos->at(i)._fullPath.c_str()));
::SendMessage(_hParent, WM_DOOPEN, 0, reinterpret_cast<LPARAM>(path.c_str()));
}
}

Loading…
Cancel
Save