reduced path to only parent directory, to make cost tractable

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4131 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2011-04-07 22:05:22 +00:00
parent 8e6962808d
commit d42d7cfc3e

View File

@ -373,14 +373,18 @@ QString FlatStyle_RDM::computeDirectoryPath(const DirDetails& details) const
if(!requestDirDetails(det.parent,det,flags))
return QString();
#ifdef SHOW_TOTAL_PATH
do
{
#endif
dir = QString::fromStdString(det.name)+"/"+dir ;
#ifdef SHOW_TOTAL_PATH
if(!requestDirDetails(det.parent,det,flags))
break ;
}
while(det.parent != NULL);
#endif
return dir ;
}