aboutsummaryrefslogtreecommitdiff
path: root/launcher/FileSystem.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-04 19:42:36 +0200
committerGitHub <noreply@github.com>2023-08-04 19:42:36 +0200
commitae793f6cf11658c9abc5111e82d5ba7b3e6af127 (patch)
treeed41f30e2c0f02e4be1d42324b3f05fbab75b2cd /launcher/FileSystem.h
parent50c7d39e082f0a7dbd977401e16d5adf534d9770 (diff)
parent1d638e018ac40fbfb35dd117f9a948c0cf35eadd (diff)
downloadPrismLauncher-ae793f6cf11658c9abc5111e82d5ba7b3e6af127.tar.gz
PrismLauncher-ae793f6cf11658c9abc5111e82d5ba7b3e6af127.tar.bz2
PrismLauncher-ae793f6cf11658c9abc5111e82d5ba7b3e6af127.zip
Merge pull request #1459 from Scrumplex/format
Diffstat (limited to 'launcher/FileSystem.h')
-rw-r--r--launcher/FileSystem.h39
1 files changed, 19 insertions, 20 deletions
diff --git a/launcher/FileSystem.h b/launcher/FileSystem.h
index f8a82bae..85e2cbe0 100644
--- a/launcher/FileSystem.h
+++ b/launcher/FileSystem.h
@@ -43,10 +43,10 @@
#include <system_error>
#include <QDir>
-#include <QPair>
#include <QFlags>
#include <QLocalServer>
#include <QObject>
+#include <QPair>
#include <QThread>
namespace FS {
@@ -365,25 +365,24 @@ enum class FilesystemType {
* QMap is ordered
*
*/
-static const QMap<FilesystemType, QStringList> s_filesystem_type_names = {
- {FilesystemType::FAT, { "FAT" }},
- {FilesystemType::NTFS, { "NTFS" }},
- {FilesystemType::REFS, { "REFS" }},
- {FilesystemType::EXT_2_OLD, { "EXT_2_OLD", "EXT2_OLD" }},
- {FilesystemType::EXT_2_3_4, { "EXT2/3/4", "EXT_2_3_4", "EXT2", "EXT3", "EXT4" }},
- {FilesystemType::EXT, { "EXT" }},
- {FilesystemType::XFS, { "XFS" }},
- {FilesystemType::BTRFS, { "BTRFS" }},
- {FilesystemType::NFS, { "NFS" }},
- {FilesystemType::ZFS, { "ZFS" }},
- {FilesystemType::APFS, { "APFS" }},
- {FilesystemType::HFS, { "HFS" }},
- {FilesystemType::HFSPLUS, { "HFSPLUS" }},
- {FilesystemType::HFSX, { "HFSX" }},
- {FilesystemType::FUSEBLK, { "FUSEBLK" }},
- {FilesystemType::F2FS, { "F2FS" }},
- {FilesystemType::UNKNOWN, { "UNKNOWN" }}
-};
+static const QMap<FilesystemType, QStringList> s_filesystem_type_names = { { FilesystemType::FAT, { "FAT" } },
+ { FilesystemType::NTFS, { "NTFS" } },
+ { FilesystemType::REFS, { "REFS" } },
+ { FilesystemType::EXT_2_OLD, { "EXT_2_OLD", "EXT2_OLD" } },
+ { FilesystemType::EXT_2_3_4,
+ { "EXT2/3/4", "EXT_2_3_4", "EXT2", "EXT3", "EXT4" } },
+ { FilesystemType::EXT, { "EXT" } },
+ { FilesystemType::XFS, { "XFS" } },
+ { FilesystemType::BTRFS, { "BTRFS" } },
+ { FilesystemType::NFS, { "NFS" } },
+ { FilesystemType::ZFS, { "ZFS" } },
+ { FilesystemType::APFS, { "APFS" } },
+ { FilesystemType::HFS, { "HFS" } },
+ { FilesystemType::HFSPLUS, { "HFSPLUS" } },
+ { FilesystemType::HFSX, { "HFSX" } },
+ { FilesystemType::FUSEBLK, { "FUSEBLK" } },
+ { FilesystemType::F2FS, { "F2FS" } },
+ { FilesystemType::UNKNOWN, { "UNKNOWN" } } };
/**
* @brief Get the string name of Filesystem enum object