summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-11-15 14:24:58 (UTC)
committer llornkcor <llornkcor>2002-11-15 14:24:58 (UTC)
commit05f56fbbbe9ea5546f7503f4852fcab9c5b10a00 (patch) (side-by-side diff)
treebcc91dc6fd97e828f6dead6cb5811e84b2bb0154
parentb35750b8fe75e055e014e0dd294c714976f5715f (diff)
downloadopie-05f56fbbbe9ea5546f7503f4852fcab9c5b10a00.zip
opie-05f56fbbbe9ea5546f7503f4852fcab9c5b10a00.tar.gz
opie-05f56fbbbe9ea5546f7503f4852fcab9c5b10a00.tar.bz2
dang it. small fix
Diffstat (more/less context) (ignore 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
@@ -532,14 +532,15 @@ void AdvancedFm::copy() {
void AdvancedFm::copyAs() {
qApp->processEvents();
QStringList curFileList = getPath();
- QString curFile;
+ QString curFile, item;
InputDialog *fileDlg;
if (TabWidget->getCurrentTab() == 0) {
qDebug("tab 1");
for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) {
QString destFile;
+ item=(*it);
curFile = currentDir.canonicalPath()+"/"+(*it);
fileDlg = new InputDialog( this,tr("Copy "+curFile+" As"), TRUE, 0);
fileDlg->setInputText((const QString &) destFile );
@@ -576,8 +577,9 @@ void AdvancedFm::copyAs() {
} else {
for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) {
+ item=(*it);
curFile = currentRemoteDir.canonicalPath()+"/"+(*it);
fileDlg = new InputDialog( this,tr("Copy "+curFile+" As"), TRUE, 0);
QString destFile;