From 448e2835ff7b84162022b62f8570935739a167bb Mon Sep 17 00:00:00 2001 From: llornkcor Date: Sat, 25 Sep 2004 06:21:43 +0000 Subject: change message --- (limited to 'noncore') 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() { } 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("

That directory does not exist

")); + QMessageBox::message(tr("Note"),tr("

%1 does not exist

").arg(pDir)); } } -- cgit v0.9.0.2