summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp2
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
@@ -857,17 +857,17 @@ void AdvancedFm::remoteDelete()
857{ 857{
858 QStringList curFileList = getPath(); 858 QStringList curFileList = getPath();
859 QString myFile; 859 QString myFile;
860 860
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() ) {
870 switch ( QMessageBox::warning(this,tr("Delete"),tr("Do you really want to delete\n")+f+ 870 switch ( QMessageBox::warning(this,tr("Delete"),tr("Do you really want to delete\n")+f+
871 "\nand all it's contents ?", 871 "\nand all it's contents ?",
872 tr("Yes"),tr("No"),0,0,1) ) { 872 tr("Yes"),tr("No"),0,0,1) ) {
873 case 0: { 873 case 0: {