author | llornkcor <llornkcor> | 2002-11-15 14:24:58 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-15 14:24:58 (UTC) |
commit | 05f56fbbbe9ea5546f7503f4852fcab9c5b10a00 (patch) (unidiff) | |
tree | bcc91dc6fd97e828f6dead6cb5811e84b2bb0154 | |
parent | b35750b8fe75e055e014e0dd294c714976f5715f (diff) | |
download | opie-05f56fbbbe9ea5546f7503f4852fcab9c5b10a00.zip opie-05f56fbbbe9ea5546f7503f4852fcab9c5b10a00.tar.gz opie-05f56fbbbe9ea5546f7503f4852fcab9c5b10a00.tar.bz2 |
dang it. small fix
-rw-r--r-- | noncore/apps/advancedfm/advancedfmMenu.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp index bef701a..f89ad30 100644 --- a/noncore/apps/advancedfm/advancedfmMenu.cpp +++ b/noncore/apps/advancedfm/advancedfmMenu.cpp | |||
@@ -533,12 +533,13 @@ void AdvancedFm::copyAs() { | |||
533 | qApp->processEvents(); | 533 | qApp->processEvents(); |
534 | 534 | ||
535 | QStringList curFileList = getPath(); | 535 | QStringList curFileList = getPath(); |
536 | QString curFile; | 536 | QString curFile, item; |
537 | InputDialog *fileDlg; | 537 | InputDialog *fileDlg; |
538 | if (TabWidget->getCurrentTab() == 0) { | 538 | if (TabWidget->getCurrentTab() == 0) { |
539 | qDebug("tab 1"); | 539 | qDebug("tab 1"); |
540 | for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) { | 540 | for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) { |
541 | QString destFile; | 541 | QString destFile; |
542 | item=(*it); | ||
542 | curFile = currentDir.canonicalPath()+"/"+(*it); | 543 | curFile = currentDir.canonicalPath()+"/"+(*it); |
543 | fileDlg = new InputDialog( this,tr("Copy "+curFile+" As"), TRUE, 0); | 544 | fileDlg = new InputDialog( this,tr("Copy "+curFile+" As"), TRUE, 0); |
544 | 545 | ||
@@ -577,6 +578,7 @@ void AdvancedFm::copyAs() { | |||
577 | } else { | 578 | } else { |
578 | for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) { | 579 | for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) { |
579 | 580 | ||
581 | item=(*it); | ||
580 | curFile = currentRemoteDir.canonicalPath()+"/"+(*it); | 582 | curFile = currentRemoteDir.canonicalPath()+"/"+(*it); |
581 | fileDlg = new InputDialog( this,tr("Copy "+curFile+" As"), TRUE, 0); | 583 | fileDlg = new InputDialog( this,tr("Copy "+curFile+" As"), TRUE, 0); |
582 | 584 | ||