Don't dereference nullptr (fix Coverity defect 121863).

This commit is contained in:
Teo Mrnjavac 2016-02-26 13:00:08 +01:00
parent 53741f0d36
commit a0ac9d9f07

View file

@ -444,6 +444,11 @@ ChoicePage::doAlongsideSetupSplitter( const QModelIndex& current,
return;
Partition* part = modl->partitionForIndex( current );
if ( !part )
{
cDebug() << Q_FUNC_INFO << "Partition not found for index" << current;
return;
}
double requiredStorageGB = Calamares::JobQueue::instance()
->globalStorage()