diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2014-09-23 18:30:20 +0200 |
---|---|---|
committer | Jonas Suhr Christensen <jsc@umbraculum.org> | 2014-09-23 18:30:20 +0200 |
commit | 28947d69c2babe1e2eb347ed01d0928ed05eac2d (patch) | |
tree | e712cbd1bfbd8427b429ce04b5a419780b2cb50d | |
parent | 5a81864b7f9b2c205d779b74ddb2e25d0df75f3e (diff) |
Testing file attribute filter on windows XP.
-rw-r--r-- | plugingui/directory.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugingui/directory.cc b/plugingui/directory.cc index ff0fa05..1465c86 100644 --- a/plugingui/directory.cc +++ b/plugingui/directory.cc @@ -332,6 +332,10 @@ bool Directory::isHidden(std::string path) DEBUG(directory, "\t...yes!\n"); return true; } + else if(fattribs & FILE_ATTRIBUTE_SYSTEM) { + DEBUG(directory, "\t...yes!\n"); + return true; + } else { DEBUG(directory, "\t...no!\n"); return false; |