summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-05-16 14:27:10 (UTC)
committer llornkcor <llornkcor>2002-05-16 14:27:10 (UTC)
commitf8f0d4d49e8edf20a2ce7b790b86d60b838b1b9e (patch) (side-by-side diff)
tree2f0bf0216e253bddff259bca5c78ed1c07fa82e6
parent9e411b20fd2a1c347f410c836150aa56c9668707 (diff)
downloadopie-f8f0d4d49e8edf20a2ce7b790b86d60b838b1b9e.zip
opie-f8f0d4d49e8edf20a2ce7b790b86d60b838b1b9e.tar.gz
opie-f8f0d4d49e8edf20a2ce7b790b86d60b838b1b9e.tar.bz2
spelling error
Diffstat (more/less context) (show 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 9606269..3a8c22d 100644
--- a/noncore/apps/advancedfm/advancedfm.cpp
+++ b/noncore/apps/advancedfm/advancedfm.cpp
@@ -916,49 +916,49 @@ void AdvancedFm::remoteDelete()
break;
};
}
}
}
void AdvancedFm::localRename()
{
QString curFile = Local_View->currentItem()->text(0);
InputDialog *fileDlg;
fileDlg = new InputDialog(this,tr("Rename"),TRUE, 0);
fileDlg->setInputText((const QString &)curFile);
fileDlg->exec();
if( fileDlg->result() == 1 ) {
QString oldname = currentDir.canonicalPath() + "/" + curFile;
QString newName = currentDir.canonicalPath() + "/" + fileDlg->LineEdit1->text();//+".playlist";
if( rename(oldname.latin1(), newName.latin1())== -1)
QMessageBox::message(tr("Note"),tr("Could not rename"));
}
populateLocalView();
}
void AdvancedFm::remoteRename()
{
- QString curFile = remote_View->currentItem()->text(0);
+ QString curFile = Remote_View->currentItem()->text(0);
InputDialog *fileDlg;
fileDlg = new InputDialog(this,tr("Rename"),TRUE, 0);
fileDlg->setInputText((const QString &)curFile);
fileDlg->exec();
if( fileDlg->result() == 1 ) {
QString oldname = currentRemoteDir.canonicalPath() + "/" + curFile;
QString newName = currentRemoteDir.canonicalPath() + "/" + fileDlg->LineEdit1->text();//+".playlist";
if( rename(oldname.latin1(), newName.latin1())== -1)
QMessageBox::message(tr("Note"),tr("Could not rename"));
}
populateRemoteView();
}
void AdvancedFm::switchToLocalTab()
{
TabWidget->setCurrentPage(0);
Local_View->setFocus();
}
void AdvancedFm::switchToRemoteTab()
{
TabWidget->setCurrentPage(1);
Remote_View->setFocus();
}