diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2013-05-04 19:27:32 +0200 |
---|---|---|
committer | Jonas Suhr Christensen <jsc@umbraculum.org> | 2013-05-04 19:27:32 +0200 |
commit | a93d2e811f26d291d2c1983318f585906c9b6d46 (patch) | |
tree | a41665a9124f3539d8b14ac37da9fdaf3d95f428 /plugingui/directory.h | |
parent | 6704a42a9b6e253ceb02a89523deb405f5d85300 (diff) |
Attempt to handle windows path in filebrowser
Diffstat (limited to 'plugingui/directory.h')
-rw-r--r-- | plugingui/directory.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/directory.h b/plugingui/directory.h index 391bf45..9e184d4 100644 --- a/plugingui/directory.h +++ b/plugingui/directory.h @@ -65,6 +65,8 @@ class Directory { //void setSorting(); static std::string cwd(); + static std::string root(); + static std::string root(std::string path); static std::string cleanPath(std::string path); static Directory::EntryList listFiles(std::string path); static bool isRoot(std::string path); |