More debug output in CreatePartitionTableJob
This commit is contained in:
parent
ac5cecee19
commit
0c3f88077d
@ -64,6 +64,9 @@ CreatePartitionTableJob::exec()
|
||||
}
|
||||
|
||||
QScopedPointer< PartitionTable > table( createTable() );
|
||||
cDebug() << "Creating new partition table of type" << table->typeName()
|
||||
<< ", uncommitted yet:\n" << table;
|
||||
|
||||
bool ok = backendDevice->createPartitionTable( report, *table );
|
||||
if ( !ok )
|
||||
{
|
||||
@ -93,6 +96,8 @@ CreatePartitionTableJob::updatePreview()
|
||||
PartitionTable*
|
||||
CreatePartitionTableJob::createTable()
|
||||
{
|
||||
cDebug() << "CreatePartitionTableJob::createTable trying to make table for device"
|
||||
<< m_device->deviceNode();
|
||||
return new PartitionTable( m_type,
|
||||
PartitionTable::defaultFirstUsable( *m_device, m_type ),
|
||||
PartitionTable::defaultLastUsable( *m_device, m_type )
|
||||
|
Loading…
Reference in New Issue
Block a user