From dda686a04556a4cbbed0d8acf68c7d017b613024 Mon Sep 17 00:00:00 2001 From: "jsc@umbraculum.org" Date: Fri, 26 Apr 2013 13:15:57 +0200 Subject: Added cleaned path. --- plugingui/filebrowser.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugingui/filebrowser.cc') diff --git a/plugingui/filebrowser.cc b/plugingui/filebrowser.cc index d9b3250..39cb565 100644 --- a/plugingui/filebrowser.cc +++ b/plugingui/filebrowser.cc @@ -73,7 +73,7 @@ static void changeDir(void *ptr) { std::string value = lb->selectedValue(); Directory* dir = prv->dir; - INFO(filebrowser, "Changing dir to '%s'\n", (dir->path() + "/" + value).c_str()); + INFO(filebrowser, "Changing path to '%s'\n", (dir->path() + "/" + value).c_str()); if(!value.empty() && dir->fileExists(value)) { std::string file = dir->path() + "/" + value; @@ -91,7 +91,7 @@ static void changeDir(void *ptr) { //TODO: If root and windows show drives instead of files DEBUG(filebrowser, "Setting path of lineedit to %s\n", dir->path().c_str()); - le->setText(Directory::cleanPath(dir->path())); + le->setText(dir->path()); lb->clear(); std::vector items; -- cgit v1.2.3