-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() ) { |