diff --git a/src/SystemData.cpp b/src/SystemData.cpp index fe901b7c5..47d9cd4c4 100644 --- a/src/SystemData.cpp +++ b/src/SystemData.cpp @@ -96,6 +96,9 @@ void SystemData::populateFolder(FolderData* folder) { fs::path filePath = (*dir).path(); + if(filePath.stem().string().empty()) + continue; + if(fs::is_directory(filePath)) { FolderData* newFolder = new FolderData(this, filePath.string(), filePath.stem().string());