From f7ea7e666da6e484577d0341fb0331dff75c69f7 Mon Sep 17 00:00:00 2001 From: David Corrales Date: Sat, 16 Jun 2007 17:31:36 +0000 Subject: Removed the isValid operation from the FilesystemNode class in favor of the much richer combinations possible with the new operations (exists, isReadable and isWritable). The work on the Common::File class is far from complete. Only the necessary was updated. svn-id: r27473 --- gui/themebrowser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui') diff --git a/gui/themebrowser.cpp b/gui/themebrowser.cpp index 4d8c439872..75fe5404c4 100644 --- a/gui/themebrowser.cpp +++ b/gui/themebrowser.cpp @@ -144,7 +144,7 @@ void ThemeBrowser::addDir(ThList &list, const Common::String &dir, int level) { FilesystemNode node(dir); - if (!node.isValid()) + if (!node.exists() || !node.isReadable()) return; FSList fslist; -- cgit v1.2.3