summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-09-25 06:21:43 (UTC)
committer llornkcor <llornkcor>2004-09-25 06:21:43 (UTC)
commit448e2835ff7b84162022b62f8570935739a167bb (patch) (side-by-side diff)
tree57cbbc4e2a6a87119df7240a346b256314e99910
parentc47a2d0e8ec283737f7c43474be4cf8070cde046 (diff)
downloadopie-448e2835ff7b84162022b62f8570935739a167bb.zip
opie-448e2835ff7b84162022b62f8570935739a167bb.tar.gz
opie-448e2835ff7b84162022b62f8570935739a167bb.tar.bz2
change message
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp
index 6f017b4..ec7a08a 100644
--- a/noncore/apps/advancedfm/advancedfm.cpp
+++ b/noncore/apps/advancedfm/advancedfm.cpp
@@ -288,21 +288,22 @@ void AdvancedFm::switchToLocalTab() {
void AdvancedFm::switchToRemoteTab() {
TabWidget->setCurrentWidget(1);
// Remote_View->setFocus();
whichTab = 2;
}
void AdvancedFm::currentPathComboChanged() {
- if(QDir( currentPathCombo->lineEdit()->text()).exists()) {
- CurrentDir()->setPath( currentPathCombo->lineEdit()->text() );
+ QString pDir = currentPathCombo->lineEdit()->text();
+ if(QDir(pDir).exists()) {
+ CurrentDir()->setPath(pDir );
populateView();
} else {
- QMessageBox::message(tr("Note"),tr("<p>That directory does not exist</p>"));
+ QMessageBox::message(tr("Note"),tr("<p>%1 does not exist</p>").arg(pDir));
}
}
void AdvancedFm::fillCombo(const QString &currentPath) {
if ( TabWidget->currentWidget() == tab) {
// if ( whichTab == 1) {
currentPathCombo->lineEdit()->setText( currentPath);