mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 00:18:22 -04:00
Coding style fixes
This commit is contained in:
parent
906019facc
commit
a335c1cc04
3 changed files with 9 additions and 9 deletions
|
@ -63,9 +63,9 @@ DeviceModel::data( const QModelIndex& index, int role ) const
|
|||
return device->deviceNode();
|
||||
else
|
||||
return tr( "%1 - %2 (%3)" )
|
||||
.arg( device->name() )
|
||||
.arg( KFormat().formatByteSize( device->capacity() ) )
|
||||
.arg( device->deviceNode() );
|
||||
.arg( device->name() )
|
||||
.arg( KFormat().formatByteSize( device->capacity() ) )
|
||||
.arg( device->deviceNode() );
|
||||
default:
|
||||
return QVariant();
|
||||
}
|
||||
|
|
|
@ -45,10 +45,10 @@ QString
|
|||
FormatPartitionJob::prettyName() const
|
||||
{
|
||||
return tr( "Format partition %1 (file system: %2, size: %3 MB) on %4." )
|
||||
.arg( m_partition->partitionPath() )
|
||||
.arg( m_partition->fileSystem().name() )
|
||||
.arg( m_partition->capacity() / 1024 / 1024 )
|
||||
.arg( m_device->name() );
|
||||
.arg( m_partition->partitionPath() )
|
||||
.arg( m_partition->fileSystem().name() )
|
||||
.arg( m_partition->capacity() / 1024 / 1024 )
|
||||
.arg( m_device->name() );
|
||||
}
|
||||
|
||||
Calamares::JobResult
|
||||
|
|
|
@ -368,8 +368,8 @@ static QStandardItem*
|
|||
createBootLoaderItem( const QString& description, const QString& path )
|
||||
{
|
||||
QString text = PartitionCoreModule::tr( "%1 (%2)" )
|
||||
.arg( description )
|
||||
.arg( path );
|
||||
.arg( description )
|
||||
.arg( path );
|
||||
QStandardItem* item = new QStandardItem( text );
|
||||
item->setData( path, PartitionCoreModule::BootLoaderPathRole );
|
||||
return item;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue