author | llornkcor <llornkcor> | 2004-09-25 06:21:43 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-09-25 06:21:43 (UTC) |
commit | 448e2835ff7b84162022b62f8570935739a167bb (patch) (unidiff) | |
tree | 57cbbc4e2a6a87119df7240a346b256314e99910 /noncore/apps/advancedfm/advancedfm.cpp | |
parent | c47a2d0e8ec283737f7c43474be4cf8070cde046 (diff) | |
download | opie-448e2835ff7b84162022b62f8570935739a167bb.zip opie-448e2835ff7b84162022b62f8570935739a167bb.tar.gz opie-448e2835ff7b84162022b62f8570935739a167bb.tar.bz2 |
change message
Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 7 |
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 | |||
@@ -293,11 +293,12 @@ void AdvancedFm::switchToRemoteTab() { | |||
293 | } | 293 | } |
294 | 294 | ||
295 | void AdvancedFm::currentPathComboChanged() { | 295 | void AdvancedFm::currentPathComboChanged() { |
296 | if(QDir( currentPathCombo->lineEdit()->text()).exists()) { | 296 | QString pDir = currentPathCombo->lineEdit()->text(); |
297 | CurrentDir()->setPath( currentPathCombo->lineEdit()->text() ); | 297 | if(QDir(pDir).exists()) { |
298 | CurrentDir()->setPath(pDir ); | ||
298 | populateView(); | 299 | populateView(); |
299 | } else { | 300 | } else { |
300 | QMessageBox::message(tr("Note"),tr("<p>That directory does not exist</p>")); | 301 | QMessageBox::message(tr("Note"),tr("<p>%1 does not exist</p>").arg(pDir)); |
301 | } | 302 | } |
302 | } | 303 | } |
303 | 304 | ||