author | llornkcor <llornkcor> | 2002-05-02 00:58:12 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-02 00:58:12 (UTC) |
commit | 45ba3b844e3fb8d9b9e1936ad2abec869d25dd33 (patch) (unidiff) | |
tree | 13fc9abdbea1bf258024bbd10776e18d4ad6eba2 | |
parent | 21ddb4ef8f53ac003836535708736b91fd2c9f57 (diff) | |
download | opie-45ba3b844e3fb8d9b9e1936ad2abec869d25dd33.zip opie-45ba3b844e3fb8d9b9e1936ad2abec869d25dd33.tar.gz opie-45ba3b844e3fb8d9b9e1936ad2abec869d25dd33.tar.bz2 |
bug fix #2 delete
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index a378170..e3ab76b 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp | |||
@@ -861,9 +861,9 @@ void AdvancedFm::remoteDelete() | |||
861 | for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) { | 861 | for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) { |
862 | myFile = (*it); | 862 | myFile = (*it); |
863 | if(myFile.find(" -> ",0,TRUE) != -1) | 863 | if(myFile.find(" -> ",0,TRUE) != -1) |
864 | myFile = myFile.left(myFile.find(" -> ",0,TRUE)); | 864 | myFile = myFile.left(myFile.find(" -> ",0,TRUE)); |
865 | QString f = currentDir.canonicalPath(); | 865 | QString f = currentRemoteDir.canonicalPath(); |
866 | if(f.right(1).find("/",0,TRUE) == -1) | 866 | if(f.right(1).find("/",0,TRUE) == -1) |
867 | f+="/"; | 867 | f+="/"; |
868 | f+=myFile; | 868 | f+=myFile; |
869 | if(QDir(f).exists() && !QFileInfo(f).isSymLink() ) { | 869 | if(QDir(f).exists() && !QFileInfo(f).isSymLink() ) { |