mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-17 02:49:34 -04:00
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:
parent
8e6962808d
commit
d42d7cfc3e
1 changed files with 4 additions and 0 deletions
|
@ -373,14 +373,18 @@ QString FlatStyle_RDM::computeDirectoryPath(const DirDetails& details) const
|
||||||
if(!requestDirDetails(det.parent,det,flags))
|
if(!requestDirDetails(det.parent,det,flags))
|
||||||
return QString();
|
return QString();
|
||||||
|
|
||||||
|
#ifdef SHOW_TOTAL_PATH
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
#endif
|
||||||
dir = QString::fromStdString(det.name)+"/"+dir ;
|
dir = QString::fromStdString(det.name)+"/"+dir ;
|
||||||
|
|
||||||
|
#ifdef SHOW_TOTAL_PATH
|
||||||
if(!requestDirDetails(det.parent,det,flags))
|
if(!requestDirDetails(det.parent,det,flags))
|
||||||
break ;
|
break ;
|
||||||
}
|
}
|
||||||
while(det.parent != NULL);
|
while(det.parent != NULL);
|
||||||
|
#endif
|
||||||
|
|
||||||
return dir ;
|
return dir ;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue