add some comments
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
44a16c1ca1
commit
d1286bbe90
@ -831,14 +831,16 @@ QString RemoveInvalidPathChars(QString path, QChar replaceWith)
|
|||||||
invalidChars = BAD_WIN_CHARS;
|
invalidChars = BAD_WIN_CHARS;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// the null character is ignored in this check as it was not a problem until now
|
||||||
switch (statFS(path).fsType) {
|
switch (statFS(path).fsType) {
|
||||||
case FilesystemType::FAT:
|
case FilesystemType::FAT:
|
||||||
invalidChars += BAD_FAT_CHARS;
|
invalidChars += BAD_FAT_CHARS;
|
||||||
break;
|
break;
|
||||||
case FilesystemType::NTFS:
|
case FilesystemType::NTFS:
|
||||||
|
/* fallthrough */
|
||||||
|
case FilesystemType::REFS: // similar to NTFS(should be available only on windows)
|
||||||
invalidChars += BAD_NTFS_CHARS;
|
invalidChars += BAD_NTFS_CHARS;
|
||||||
break;
|
break;
|
||||||
// case FilesystemType::REFS:
|
|
||||||
// case FilesystemType::EXT:
|
// case FilesystemType::EXT:
|
||||||
// case FilesystemType::EXT_2_OLD:
|
// case FilesystemType::EXT_2_OLD:
|
||||||
// case FilesystemType::EXT_2_3_4:
|
// case FilesystemType::EXT_2_3_4:
|
||||||
|
Loading…
Reference in New Issue
Block a user