Changeset View
Changeset View
Standalone View
Standalone View
src/fs/filesystem.cpp
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Line(s) | 41 | { | |||
---|---|---|---|---|---|
67 | QColor( 255,170,0 ), // f2fs | 67 | QColor( 255,170,0 ), // f2fs | ||
68 | QColor( 170,120,255 ), // udf | 68 | QColor( 170,120,255 ), // udf | ||
69 | QColor( 177,82,69 ), // iso9660 | 69 | QColor( 177,82,69 ), // iso9660 | ||
70 | QColor( 223,39,104 ), // luks2 | 70 | QColor( 223,39,104 ), // luks2 | ||
71 | QColor( 204,179,255 ), // fat12 | 71 | QColor( 204,179,255 ), // fat12 | ||
72 | QColor( 255,100,100 ), // linux_raid_member | 72 | QColor( 255,100,100 ), // linux_raid_member | ||
73 | QColor( 110,20,50 ), // bitlocker | 73 | QColor( 110,20,50 ), // bitlocker | ||
74 | QColor( 255,155,174 ), // apfs | 74 | QColor( 255,155,174 ), // apfs | ||
75 | QColor( 255,100,50 ), // minix | ||||
stikonas: let's be consistent with other entries above and not add space before 50 | |||||
75 | } | 76 | } | ||
76 | }; | 77 | }; | ||
77 | 78 | | |||
78 | struct FileSystemPrivate { | 79 | struct FileSystemPrivate { | ||
79 | FileSystem::Type m_Type; | 80 | FileSystem::Type m_Type; | ||
80 | qint64 m_FirstSector; | 81 | qint64 m_FirstSector; | ||
81 | qint64 m_LastSector; | 82 | qint64 m_LastSector; | ||
82 | qint64 m_SectorSize; | 83 | qint64 m_SectorSize; | ||
▲ Show 20 Lines • Show All 364 Lines • ▼ Show 20 Line(s) | 421 | static const KLocalizedString s[] = { | |||
447 | kxi18nc("@item filesystem name", "f2fs"), | 448 | kxi18nc("@item filesystem name", "f2fs"), | ||
448 | kxi18nc("@item filesystem name", "udf"), | 449 | kxi18nc("@item filesystem name", "udf"), | ||
449 | kxi18nc("@item filesystem name", "iso9660"), | 450 | kxi18nc("@item filesystem name", "iso9660"), | ||
450 | kxi18nc("@item filesystem name", "luks2"), | 451 | kxi18nc("@item filesystem name", "luks2"), | ||
451 | kxi18nc("@item filesystem name", "fat12"), | 452 | kxi18nc("@item filesystem name", "fat12"), | ||
452 | kxi18nc("@item filesystem name", "linux_raid_member"), | 453 | kxi18nc("@item filesystem name", "linux_raid_member"), | ||
453 | kxi18nc("@item filesystem name", "BitLocker"), | 454 | kxi18nc("@item filesystem name", "BitLocker"), | ||
454 | kxi18nc("@item filesystem name", "apfs"), | 455 | kxi18nc("@item filesystem name", "apfs"), | ||
456 | kxi18nc("@item filesystem name", "minix"), | ||||
455 | }; | 457 | }; | ||
456 | 458 | | |||
457 | return s; | 459 | return s; | ||
458 | } | 460 | } | ||
459 | 461 | | |||
460 | /** @param t the type to get the name for | 462 | /** @param t the type to get the name for | ||
461 | @return the printable name for the given type | 463 | @return the printable name for the given type | ||
462 | */ | 464 | */ | ||
▲ Show 20 Lines • Show All 179 Lines • Show Last 20 Lines |
let's be consistent with other entries above and not add space before 50