mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-17 23:44:22 +00:00
Fix listDir call in BrowserDialog
svn-id: r22318
This commit is contained in:
parent
05f6adbbd9
commit
9f7b98617d
@ -225,10 +225,8 @@ void BrowserDialog::updateListing() {
|
||||
ConfMan.set("browser_lastpath", _node.path());
|
||||
|
||||
// Read in the data from the file system
|
||||
if (_isDirBrowser)
|
||||
_nodeContent = _node.listDir(FilesystemNode::kListDirectoriesOnly);
|
||||
else
|
||||
_nodeContent = _node.listDir(FilesystemNode::kListAll);
|
||||
_node.listDir(_nodeContent, _isDirBrowser ? FilesystemNode::kListDirectoriesOnly
|
||||
: FilesystemNode::kListAll);
|
||||
Common::sort(_nodeContent.begin(), _nodeContent.end());
|
||||
|
||||
// Populate the ListWidget
|
||||
|
Loading…
x
Reference in New Issue
Block a user