mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 16:39:43 -05: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
@ -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 ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user