[partition] Apply coding style

This commit is contained in:
Adriaan de Groot 2021-03-27 15:43:32 +01:00
parent 1007680931
commit 1eba562d07
8 changed files with 51 additions and 55 deletions

View file

@ -225,8 +225,9 @@ EditExistingPartitionDialog::applyChanges( PartitionCoreModule* core )
// In this case, we are not formatting the partition, but we are setting the
// label on the current filesystem, if any. We only create the job if the
// label actually changed.
if (m_partition->fileSystem().type() != FileSystem::Type::Unformatted &&
fsLabel != m_partition->fileSystem().label()) {
if ( m_partition->fileSystem().type() != FileSystem::Type::Unformatted
&& fsLabel != m_partition->fileSystem().label() )
{
core->setFilesystemLabel( m_device, m_partition, fsLabel );
}
core->refreshPartition( m_device, m_partition );