summaryrefslogtreecommitdiffstats
path: root/src/part/fileTree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/part/fileTree.cpp')
-rw-r--r--src/part/fileTree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/part/fileTree.cpp b/src/part/fileTree.cpp
index fc2a4c9..cab0a04 100644
--- a/src/part/fileTree.cpp
+++ b/src/part/fileTree.cpp
@@ -20,7 +20,7 @@ File::fullPath( const Directory *root /*= 0*/ ) const
if( root == this )
root = 0; //prevent returning empty string when there is something we could return
- for( const Directory *d = (Directory*)this; d != root && d; d = d->tqparent() )
+ for( const Directory *d = (Directory*)this; d != root && d; d = d->parent() )
path.prepend( d->name() );
return path;