summaryrefslogtreecommitdiff
path: root/src/filetreeitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/filetreeitem.cpp')
-rw-r--r--src/filetreeitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filetreeitem.cpp b/src/filetreeitem.cpp
index 49bc65ac..7997974f 100644
--- a/src/filetreeitem.cpp
+++ b/src/filetreeitem.cpp
@@ -40,7 +40,7 @@ const QString& directoryFileType()
const QString& cachedFileTypeNoExtension()
{
static const QString name = [] {
- const DWORD flags = SHGFI_TYPENAME;
+ const DWORD flags = SHGFI_TYPENAME | SHGFI_USEFILEATTRIBUTES;
SHFILEINFOW sfi = {};
// dummy filename with no extension