fix(cpn): Workaround MacOS 13 filesystem type change (#2564)
This commit is contained in:
@@ -302,7 +302,7 @@ QString findMassstoragePath(const QString & filename, bool onlyPath)
|
|||||||
QString probefile;
|
QString probefile;
|
||||||
bool found = false;
|
bool found = false;
|
||||||
|
|
||||||
QRegularExpression fstypeRe("^(v?fat|msdos)", QRegularExpression::CaseInsensitiveOption); // Linux: "vfat"; macOS: "msdos"; Win: "FAT32"
|
QRegularExpression fstypeRe("^(v?fat|msdos|lifs)", QRegularExpression::CaseInsensitiveOption); // Linux: "vfat"; macOS: "msdos" or "lifs"; Win: "FAT32"
|
||||||
|
|
||||||
foreach(const QStorageInfo & si, QStorageInfo::mountedVolumes()) {
|
foreach(const QStorageInfo & si, QStorageInfo::mountedVolumes()) {
|
||||||
//qDebug() << si.rootPath() << si.name() << si.device() << si.displayName() << si.fileSystemType() << si.isReady();
|
//qDebug() << si.rootPath() << si.name() << si.device() << si.displayName() << si.fileSystemType() << si.isReady();
|
||||||
|
|||||||
Reference in New Issue
Block a user