[partition] Improve debug-output a little

This commit is contained in:
Adriaan de Groot 2021-03-29 14:14:05 +02:00
parent 4d0cae4a9b
commit 1155b6fc3d

View File

@ -1402,7 +1402,7 @@ ChoicePage::setupActions()
}
else
{
cDebug() << "Replace button suppressed because none can be replaced.";
cDebug() << "No partitions available for replace-action.";
force_uncheck( m_grp, m_replaceButton );
}
@ -1412,7 +1412,7 @@ ChoicePage::setupActions()
}
else
{
cDebug() << "Alongside button suppressed because none can be resized.";
cDebug() << "No partitions available for resize-action.";
force_uncheck( m_grp, m_alongsideButton );
}
@ -1422,8 +1422,8 @@ ChoicePage::setupActions()
}
else
{
cDebug() << "Erase button suppressed"
<< "mount?" << atLeastOneIsMounted << "raid?" << isInactiveRAID;
cDebug() << "No partitions ("
<< "any-mounted?" << atLeastOneIsMounted << "is-raid?" << isInactiveRAID << ") for erase-action.";
force_uncheck( m_grp, m_eraseButton );
}