mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
[partition] Fix build with suitable operator <<
This commit is contained in:
parent
b38316365e
commit
292bc57523
1 changed files with 8 additions and 1 deletions
|
@ -1161,6 +1161,13 @@ force_uncheck(QButtonGroup* grp, PrettyRadioButton* button)
|
||||||
grp->setExclusive( true );
|
grp->setExclusive( true );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static inline QDebug&
|
||||||
|
operator <<( QDebug& s, PartitionIterator& it )
|
||||||
|
{
|
||||||
|
s << ( ( *it ) ? ( *it )->deviceNode() : QString( "<null device>" ) );
|
||||||
|
return s;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief ChoicePage::setupActions happens every time a new Device* is selected in the
|
* @brief ChoicePage::setupActions happens every time a new Device* is selected in the
|
||||||
* device picker. Sets up the text and visibility of the partitioning actions based
|
* device picker. Sets up the text and visibility of the partitioning actions based
|
||||||
|
@ -1176,7 +1183,7 @@ ChoicePage::setupActions()
|
||||||
|
|
||||||
cDebug() << "Setting up actions for" << currentDevice->deviceNode()
|
cDebug() << "Setting up actions for" << currentDevice->deviceNode()
|
||||||
<< "with" << osproberEntriesForCurrentDevice.count() << "entries.";
|
<< "with" << osproberEntriesForCurrentDevice.count() << "entries.";
|
||||||
|
|
||||||
if ( currentDevice->partitionTable() )
|
if ( currentDevice->partitionTable() )
|
||||||
m_deviceInfoWidget->setPartitionTableType( currentDevice->partitionTable()->type() );
|
m_deviceInfoWidget->setPartitionTableType( currentDevice->partitionTable()->type() );
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue