Commit cda6f37a authored by hjk's avatar hjk Committed by Tobias Hunger
Browse files

DebuggerItemModel: Fix assert.



Change-Id: Iff0adabe3e2e7fc0b84ce90557a3da8a6c4030fe
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 16cf79d4
......@@ -273,7 +273,7 @@ void DebuggerItemModel::apply()
{
foreach (const QVariant &id, m_removedItems) {
const DebuggerItem *item = DebuggerItemManager::findById(id);
QTC_CHECK(item);
QTC_ASSERT(item, return);
DebuggerItemManager::deregisterDebugger(*item);
}
......
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