summaryrefslogtreecommitdiffstats
path: root/kdat/BackupProfileWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdat/BackupProfileWidget.cpp')
-rw-r--r--kdat/BackupProfileWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdat/BackupProfileWidget.cpp b/kdat/BackupProfileWidget.cpp
index 7530d5c..1cd3f4c 100644
--- a/kdat/BackupProfileWidget.cpp
+++ b/kdat/BackupProfileWidget.cpp
@@ -205,7 +205,7 @@ void BackupProfileWidget::setAbsoluteFiles( const TQStringList& files )
TQString prefix = Util::longestCommonPath( files );
_workingDir->clear();
- for ( int pos = prefix.length(); pos > 0; pos = prefix.tqfindRev( '/', pos - 1 ) ) {
+ for ( int pos = prefix.length(); pos > 0; pos = prefix.findRev( '/', pos - 1 ) ) {
_workingDir->insertItem( prefix.left( pos ) );
}
_workingDir->insertItem( "/" );