mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55:37 -04:00
[partition] Apply coding style
This commit is contained in:
parent
1007680931
commit
1eba562d07
8 changed files with 51 additions and 55 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue