KPMcore: Pass QStringList to fs->name() instead of QString.
This commit is contained in:
parent
ff2947060d
commit
9f05c236d8
@ -85,7 +85,7 @@ mapForPartition( Partition* partition, const QString& uuid )
|
||||
map[ "device" ] = partition->partitionPath();
|
||||
map[ "mountPoint" ] = PartitionInfo::mountPoint( partition );
|
||||
map[ "fsName" ] = partition->fileSystem().name();
|
||||
map[ "fs" ] = partition->fileSystem().name( QStringLiteral("C") ); // Untranslated
|
||||
map[ "fs" ] = partition->fileSystem().name( { QStringLiteral("C") } ); // Untranslated
|
||||
if ( partition->fileSystem().type() == FileSystem::Luks &&
|
||||
dynamic_cast< FS::luks& >( partition->fileSystem() ).innerFS() )
|
||||
map[ "fs" ] = dynamic_cast< FS::luks& >( partition->fileSystem() ).innerFS()->name();
|
||||
|
Loading…
Reference in New Issue
Block a user