mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 08:28: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();
|
return device->deviceNode();
|
||||||
else
|
else
|
||||||
return tr( "%1 - %2 (%3)" )
|
return tr( "%1 - %2 (%3)" )
|
||||||
.arg( device->name() )
|
.arg( device->name() )
|
||||||
.arg( KFormat().formatByteSize( device->capacity() ) )
|
.arg( KFormat().formatByteSize( device->capacity() ) )
|
||||||
.arg( device->deviceNode() );
|
.arg( device->deviceNode() );
|
||||||
default:
|
default:
|
||||||
return QVariant();
|
return QVariant();
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,10 +45,10 @@ QString
|
||||||
FormatPartitionJob::prettyName() const
|
FormatPartitionJob::prettyName() const
|
||||||
{
|
{
|
||||||
return tr( "Format partition %1 (file system: %2, size: %3 MB) on %4." )
|
return tr( "Format partition %1 (file system: %2, size: %3 MB) on %4." )
|
||||||
.arg( m_partition->partitionPath() )
|
.arg( m_partition->partitionPath() )
|
||||||
.arg( m_partition->fileSystem().name() )
|
.arg( m_partition->fileSystem().name() )
|
||||||
.arg( m_partition->capacity() / 1024 / 1024 )
|
.arg( m_partition->capacity() / 1024 / 1024 )
|
||||||
.arg( m_device->name() );
|
.arg( m_device->name() );
|
||||||
}
|
}
|
||||||
|
|
||||||
Calamares::JobResult
|
Calamares::JobResult
|
||||||
|
|
|
@ -368,8 +368,8 @@ static QStandardItem*
|
||||||
createBootLoaderItem( const QString& description, const QString& path )
|
createBootLoaderItem( const QString& description, const QString& path )
|
||||||
{
|
{
|
||||||
QString text = PartitionCoreModule::tr( "%1 (%2)" )
|
QString text = PartitionCoreModule::tr( "%1 (%2)" )
|
||||||
.arg( description )
|
.arg( description )
|
||||||
.arg( path );
|
.arg( path );
|
||||||
QStandardItem* item = new QStandardItem( text );
|
QStandardItem* item = new QStandardItem( text );
|
||||||
item->setData( path, PartitionCoreModule::BootLoaderPathRole );
|
item->setData( path, PartitionCoreModule::BootLoaderPathRole );
|
||||||
return item;
|
return item;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue