mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 05:05:43 +01:00
GLib functions for listing directory contents don't include "." or ".." entries
This commit is contained in:
parent
cc2987d320
commit
7bb2c88963
1 changed files with 0 additions and 6 deletions
|
|
@ -699,12 +699,6 @@ get_icon_sets ()
|
|||
|
||||
string d = *e;
|
||||
|
||||
/* ignore dotfiles, . and .. */
|
||||
|
||||
if (d.empty() || d[0] == '.') {
|
||||
continue;
|
||||
}
|
||||
|
||||
Glib::ustring path = Glib::build_filename (*s, *e);
|
||||
|
||||
if (Glib::file_test (path, Glib::FILE_TEST_IS_DIR)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue