summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorweihuoya <zwdreams@gmail.com>2018-08-15 19:41:55 +0800
committerweihuoya <zwdreams@gmail.com>2018-08-15 19:41:55 +0800
commiteefef731414555d08e82a6471e4bd37ed02a09ac (patch)
treef53e99ab4a65532c6620a5188bb6ffac5d9d6ae5 /Source
parent2fac523e10776e2b0bae9e0757d5d9cafd5d61c9 (diff)
nomedia, add comment text
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/UICommon/UICommon.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/UICommon/UICommon.cpp b/Source/Core/UICommon/UICommon.cpp
index db854dd7e4..66f8642a9a 100644
--- a/Source/Core/UICommon/UICommon.cpp
+++ b/Source/Core/UICommon/UICommon.cpp
@@ -179,6 +179,7 @@ void CreateDirectories()
File::CreateFullPath(File::GetUserPath(D_THEMES_IDX));
File::CreateFullPath(File::GetUserPath(D_STYLES_IDX));
#else
+ // Disable media scanning in directories with a .nomedia file
File::CreateEmptyFile(File::GetUserPath(D_COVERCACHE_IDX) + DIR_SEP NOMEDIA_FILE);
#endif
}