summaryrefslogtreecommitdiff
path: root/plugingui/filebrowser.cc
diff options
context:
space:
mode:
authorjsc@umbraculum.org <jsc@umbraculum.org>2013-04-26 13:15:57 +0200
committerjsc@umbraculum.org <jsc@umbraculum.org>2013-04-26 13:15:57 +0200
commitdda686a04556a4cbbed0d8acf68c7d017b613024 (patch)
treebc3dbf1b3e4db3ce37c070daf2628b1e57cfb41c /plugingui/filebrowser.cc
parentedcd71e1de45196ec8f14ffa6cf7659ea2c0221f (diff)
Added cleaned path.
Diffstat (limited to 'plugingui/filebrowser.cc')
-rw-r--r--plugingui/filebrowser.cc4
1 files changed, 2 insertions, 2 deletions
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<GUI::ListBoxBasic::Item> items;