Skip to content

Commit 3b5b00a

Browse files
wangrong1069deepin-bot[bot]
authored andcommitted
fix: expand support for long filenames on ulnfs
Added "ulnfs" to the list of filesystems supporting long filenames in FileUtils::supportLongName(). Task: https://pms.uniontech.com/task-view-381255.html
1 parent 3421fbc commit 3b5b00a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dfm-base/utils/fileutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ QString FileUtils::normalPathToTrash(const QString &normal)
12341234
bool FileUtils::supportLongName(const QUrl &url)
12351235
{
12361236
const static QList<QString> datas {
1237-
"vfat", "exfat", "ntfs", "ntfs3", "fuseblk", "fuse.dlnfs", "udf"
1237+
"vfat", "exfat", "ntfs", "ntfs3", "fuseblk", "fuse.dlnfs", "udf", "ulnfs"
12381238
};
12391239

12401240
const QString &fileSystem = dfmio::DFMUtils::fsTypeFromUrl(url);

0 commit comments

Comments
 (0)