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"
/*
* The API described in this header is meant to allow for file system browsing in a
* portable fashion. To this end, multiple or single roots have to be supported
* (compare Unix with a single root, Windows with multiple roots C:, D:, ...).
* The API described in this header is meant to allow for file system browsing
* in a portable fashion. To this end, multiple or single roots have to be
* 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
* 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 tick() override;
private:

View File

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