mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-25 22:03:45 -06:00
.ide .cosmetic Remove NOTE comment in FindFile.cpp
git-svn-id: svn://ultimatepp.org/upp/trunk@10220 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
271d8c5369
commit
f44ad953bb
1 changed files with 1 additions and 3 deletions
|
|
@ -97,8 +97,6 @@ Vector<FindFileData> FindFileWindow::GetFindedFilesData() const
|
|||
{
|
||||
Vector<FindFileData> data;
|
||||
|
||||
// NOTE: maybe there is cleaner way to obtain multiselected rows,
|
||||
// but I don't find it right now.
|
||||
for(int i = 0; i < list.GetCount(); i++) {
|
||||
if(list.IsSelected(i)) {
|
||||
data.Add(FindFileData(list.Get(i, 0), list.Get(i, 1)));
|
||||
|
|
@ -130,7 +128,7 @@ void FindFileWindow::OnSearch()
|
|||
bool FindFileWindow::DoseFileMeetTheCriteria(const Package::File& file, const String& packageName,
|
||||
const String& query)
|
||||
{
|
||||
if (searchInCurrentPackage&& !IsActualPackage(packageName))
|
||||
if (searchInCurrentPackage && !IsActualPackage(packageName))
|
||||
return false;
|
||||
|
||||
return !file.separator && (ToUpper(packageName).Find(query) >= 0 || ToUpper(file).Find(query) >= 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue