summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-05-02 00:58:12 (UTC)
committer llornkcor <llornkcor>2002-05-02 00:58:12 (UTC)
commit45ba3b844e3fb8d9b9e1936ad2abec869d25dd33 (patch) (side-by-side diff)
tree13fc9abdbea1bf258024bbd10776e18d4ad6eba2
parent21ddb4ef8f53ac003836535708736b91fd2c9f57 (diff)
downloadopie-45ba3b844e3fb8d9b9e1936ad2abec869d25dd33.zip
opie-45ba3b844e3fb8d9b9e1936ad2abec869d25dd33.tar.gz
opie-45ba3b844e3fb8d9b9e1936ad2abec869d25dd33.tar.bz2
bug fix #2 delete
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
@@ -859,13 +859,13 @@ void AdvancedFm::remoteDelete()
QString myFile;
for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) {
myFile = (*it);
if(myFile.find(" -> ",0,TRUE) != -1)
myFile = myFile.left(myFile.find(" -> ",0,TRUE));
- QString f = currentDir.canonicalPath();
+ QString f = currentRemoteDir.canonicalPath();
if(f.right(1).find("/",0,TRUE) == -1)
f+="/";
f+=myFile;
if(QDir(f).exists() && !QFileInfo(f).isSymLink() ) {
switch ( QMessageBox::warning(this,tr("Delete"),tr("Do you really want to delete\n")+f+
"\nand all it's contents ?",