[partition] Fix logging (type of debug stream changed)

This commit is contained in:
Adriaan de Groot 2021-06-18 17:41:22 +02:00
parent 7deb6c0e9e
commit 6936915dd6

View File

@ -60,14 +60,6 @@ CreatePartitionTableJob::prettyStatusMessage() const
} }
static inline QDebug&
operator<<( QDebug&& s, PartitionIterator& it )
{
s << ( ( *it ) ? ( *it )->deviceNode() : QString( "<null device>" ) );
return s;
}
Calamares::JobResult Calamares::JobResult
CreatePartitionTableJob::exec() CreatePartitionTableJob::exec()
{ {
@ -81,7 +73,7 @@ CreatePartitionTableJob::exec()
cDebug() << "Creating new partition table of type" << table->typeName() << ", uncommitted partitions:"; cDebug() << "Creating new partition table of type" << table->typeName() << ", uncommitted partitions:";
for ( auto it = PartitionIterator::begin( table ); it != PartitionIterator::end( table ); ++it ) for ( auto it = PartitionIterator::begin( table ); it != PartitionIterator::end( table ); ++it )
{ {
cDebug() << Logger::SubEntry << it; cDebug() << Logger::SubEntry << ( ( *it ) ? ( *it )->deviceNode() : QString( "<null device>" ) );
} }
QProcess lsblk; QProcess lsblk;