[modules] Use new convenience logging methods across the board

This commit is contained in:
Adriaan de Groot 2018-02-13 11:07:12 +01:00
parent 3f77fb1d16
commit 3315df5df1
14 changed files with 33 additions and 32 deletions

View file

@ -567,7 +567,7 @@ ChoicePage::onLeave()
}
else
{
cDebug() << "ERROR: cannot set up EFI system partition.\nESP count:"
cError() << "cannot set up EFI system partition.\nESP count:"
<< efiSystemPartitions.count() << "\nm_efiComboBox:"
<< m_efiComboBox;
}
@ -582,7 +582,7 @@ ChoicePage::onLeave()
if ( d_p )
m_core->setBootLoaderInstallPath( d_p->deviceNode() );
else
cDebug() << "WARNING: No device selected for bootloader.";
cWarning() << "No device selected for bootloader.";
}
else
{
@ -1315,7 +1315,7 @@ ChoicePage::setupActions()
if ( isEfi && !efiSystemPartitionFound )
{
cDebug() << "WARNING: system is EFI but there's no EFI system partition, "
cWarning() << "System is EFI but there's no EFI system partition, "
"DISABLING alongside and replace features.";
m_alongsideButton->hide();
m_replaceButton->hide();

View file

@ -426,6 +426,7 @@ PartitionViewStep::onLeave()
if ( !message.isEmpty() )
{
cWarning() << message;
QMessageBox::warning( m_manualPartitionPage,
message,
description );
@ -535,7 +536,7 @@ PartitionViewStep::setConfigurationMap( const QVariantMap& configurationMap )
gs->insert( "defaultFileSystemType", typeString );
if ( FileSystem::typeForName( typeString ) == FileSystem::Unknown )
{
cDebug() << "WARNING: bad default filesystem configuration for partition module. Reverting to ext4 as default.";
cWarning() << "bad default filesystem configuration for partition module. Reverting to ext4 as default.";
gs->insert( "defaultFileSystemType", "ext4" );
}
}