summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfmMenu.cpp4
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