mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55:37 -04:00
Avoid dereferencing nullptr.
This commit is contained in:
parent
df9daf8fec
commit
11f5b729a8
1 changed files with 2 additions and 1 deletions
|
@ -101,7 +101,8 @@ ModuleManager::loadModules( Phase phase )
|
||||||
{
|
{
|
||||||
foreach ( const QString& moduleName, Settings::instance()->modules( phase ) )
|
foreach ( const QString& moduleName, Settings::instance()->modules( phase ) )
|
||||||
{
|
{
|
||||||
if ( !m_availableModules.contains( moduleName ) )
|
if ( !m_availableModules.contains( moduleName ) ||
|
||||||
|
!m_availableModules.value( moduleName ) )
|
||||||
{
|
{
|
||||||
cDebug() << "Module" << moduleName << "not found in module search paths."
|
cDebug() << "Module" << moduleName << "not found in module search paths."
|
||||||
<< "\nCalamares will now quit.";
|
<< "\nCalamares will now quit.";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue