Commit 872727f8 authored by Gleb Popov's avatar Gleb Popov

Fix crash in debug message printing.

Pointed out by: adridg
parent 8a553ae2dff6
......@@ -245,7 +245,7 @@ bool ObjectManager::registerBlock(Block* b, bool tryPostponed)
Block* table = m_blockObjects.value(b->bPartition->partBlockName, nullptr);
if(!table || !table->registered)
{
qDebug() << b->name << " waits for partition table " << table->name;
qDebug() << b->name << " waits for partition table " << (table ? table->name : QString());
postponeRegistration(b->name);
return false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment