fixed error that made too many directories

This commit is contained in:
itsmattkc
2019-08-07 12:17:56 +10:00
parent 410c1ff06c
commit 624fc99b78
+1 -1
View File
@@ -32,7 +32,7 @@ QString GetMediaIndexLocation()
QDir media_index_dir = local_appdata_dir.filePath("mediaindex");
// Attempt to ensure this folder exists
media_index_dir.mkpath("mediaindex");
media_index_dir.mkpath(".");
return media_index_dir.absolutePath();
}