From 28947d69c2babe1e2eb347ed01d0928ed05eac2d Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Tue, 23 Sep 2014 18:30:20 +0200 Subject: Testing file attribute filter on windows XP. --- plugingui/directory.cc | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3