[partition] Reduce direct dependency of PartUtils on PartitionCoreModule

This commit is contained in:
Corentin Noël 2020-10-05 11:39:04 +02:00
parent 063482339f
commit 08138f5a41
3 changed files with 9 additions and 12 deletions

View file

@ -180,7 +180,7 @@ PartitionCoreModule::doInit()
// The following PartUtils::runOsprober call in turn calls PartUtils::canBeResized,
// which relies on a working DeviceModel.
m_osproberLines = PartUtils::runOsprober( this );
m_osproberLines = PartUtils::runOsprober( this->deviceModel() );
// We perform a best effort of filling out filesystem UUIDs in m_osproberLines
// because we will need them later on in PartitionModel if partition paths