By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 2644
Collapse All | Expand All

(-)a/ark/filelistview.cpp (-5 / +23 lines)
Lines 381-394 FileListView::contentsMouseMoveEvent(TQMouseEvent *e) Link Here
381
FileLVI*
381
FileLVI*
382
FileListView::item(const TQString& filename) const
382
FileListView::item(const TQString& filename) const
383
{
383
{
384
	if (filename.isEmpty ()) {
385
		return 0;
386
	}
387
388
	TQStringList pathList = TQStringList::split( '/', filename );
389
384
	FileLVI * flvi = (FileLVI*) firstChild();
390
	FileLVI * flvi = (FileLVI*) firstChild();
385
391
392
	// Iterate over filepath; note that iterator is increased inside the inner loop
393
	TQStringList::ConstIterator pathIt = pathList.begin(), pathEnd = pathList.end() ;
386
	while (flvi)
394
	while (flvi)
387
	{
395
	{
388
		TQString curFilename = flvi->fileName();
396
		// Iterate over the current tree level siblings
389
		if (curFilename == filename)
397
		while (flvi)
390
			return flvi;
398
		{
391
		flvi = (FileLVI*) flvi->nextSibling();
399
			if (flvi->fileName() == *pathIt ) {
400
				++pathIt;
401
				if (pathIt != pathEnd) {
402
					flvi = (FileLVI*) flvi->firstChild ();
403
				} else {
404
					return flvi;
405
				}
406
				break;
407
			}
408
409
			flvi = (FileLVI*) flvi->nextSibling();
410
		}
392
	}
411
	}
393
412
394
	return 0;
413
	return 0;
395
- 

Return to bug 2644