From 0cdc335e2c6b9b47d2fd3b93fb87094e6346b9b0 Mon Sep 17 00:00:00 2001 From: vasilito Date: Fri, 10 Jul 2026 03:43:41 +0300 Subject: [PATCH] =?UTF-8?q?kcoreaddons:=20fix=20KFileSystemType::Ext4=20?= =?UTF-8?q?=E2=86=92=20Other=20(Ext4=20not=20in=20enum)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kde/kf6-kcoreaddons/source/src/lib/io/kfilesystemtype.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/local/recipes/kde/kf6-kcoreaddons/source/src/lib/io/kfilesystemtype.cpp b/local/recipes/kde/kf6-kcoreaddons/source/src/lib/io/kfilesystemtype.cpp index 7caa466242..d0b682f039 100644 --- a/local/recipes/kde/kf6-kcoreaddons/source/src/lib/io/kfilesystemtype.cpp +++ b/local/recipes/kde/kf6-kcoreaddons/source/src/lib/io/kfilesystemtype.cpp @@ -260,10 +260,10 @@ KFileSystemType::Type determineFileSystemTypeImpl(const QByteArray &path) switch (fs_magic) { case 0x00534658: // 'XFS\0' little-endian — redoxfs case 1: // redoxfs scheme id - return KFileSystemType::Ext4; // closest common type for user display + return KFileSystemType::Other; // RedoxFS — "normal" local filesystem case 2: // ext4 scheme id case 0xEF53: // EXT4_SUPER_MAGIC - return KFileSystemType::Ext4; + return KFileSystemType::Other; case 3: // FAT scheme id case 0x4d44: // MSDOS_SUPER_MAGIC return KFileSystemType::Ntfs; // FAT has no KFileSystemType entry