Fix missing names in NavigationWidget.

This commit is contained in:
Stephen Anthony 2022-06-24 18:43:34 -02:30
parent d3285646ab
commit 323727d1b1
3 changed files with 5 additions and 5 deletions

View File

@ -24,9 +24,10 @@
#include "bspf.hxx" #include "bspf.hxx"
/* /*
* The API described in this header is meant to allow for file system browsing in a * The API described in this header is meant to allow for file system browsing
* portable fashion. To this end, multiple or single roots have to be supported * in a portable fashion. To this end, multiple or single roots have to be
* (compare Unix with a single root, Windows with multiple roots C:, D:, ...). * supported (compare Unix with a single root, Windows with multiple roots C:,
* D:, ...).
* *
* To this end, we abstract away from paths; implementations can be based on * To this end, we abstract away from paths; implementations can be based on
* paths (and it's left to them whether / or \ or : is the path separator :-). * paths (and it's left to them whether / or \ or : is the path separator :-).

View File

@ -102,7 +102,6 @@ class LauncherDialog : public Dialog, CommandSender
*/ */
void quit(); void quit();
void tick() override; void tick() override;
private: private:

View File

@ -54,8 +54,8 @@ FSNodePOSIX::FSNodePOSIX(const string& path, bool verify)
} }
_fspath = _path; _fspath = _path;
_displayName = _fspath.filename();
_path = _fspath.string(); _path = _fspath.string();
_displayName = lastPathComponent(_path);
if(verify) if(verify)
setFlags(); setFlags();