aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorDavid Corrales2007-06-16 17:31:36 +0000
committerDavid Corrales2007-06-16 17:31:36 +0000
commitf7ea7e666da6e484577d0341fb0331dff75c69f7 (patch)
treeb7e0b6ce4287cba50ee72e2ab50ca31d942466b2 /gui
parentb405220ff2990b01b93c03a664ae9247b2fc422c (diff)
downloadscummvm-rg350-f7ea7e666da6e484577d0341fb0331dff75c69f7.tar.gz
scummvm-rg350-f7ea7e666da6e484577d0341fb0331dff75c69f7.tar.bz2
scummvm-rg350-f7ea7e666da6e484577d0341fb0331dff75c69f7.zip
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
Diffstat (limited to 'gui')
-rw-r--r--gui/themebrowser.cpp2
1 files changed, 1 insertions, 1 deletions
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;