[partition] Remove initKPMCore() from KPMHelpers

- This is a job for KPMManager, from the partition service.
 - In tests, needs to be a little hackish.
This commit is contained in:
Adriaan de Groot 2019-06-13 22:33:41 +02:00
parent a01539b664
commit d039f9bbb8
6 changed files with 16 additions and 34 deletions

View file

@ -147,7 +147,7 @@ PartitionCoreModule::PartitionCoreModule( QObject* parent )
, m_deviceModel( new DeviceModel( this ) )
, m_bootLoaderModel( new BootLoaderModel( this ) )
{
if ( !KPMHelpers::initKPMcore() )
if ( !m_kpmcore )
qFatal( "Failed to initialize KPMcore backend" );
}