Commit c91980ce authored by Christian Kandeler's avatar Christian Kandeler
Browse files

QmlProfiler: Fix potential null pointer access.



Change-Id: Ic1f52a73c910612d0664e0ea909f04729109bcb2
Reviewed-by: default avatarUlf Hermann <ulf.hermann@theqtcompany.com>
parent 716e3277
......@@ -643,7 +643,7 @@ QV8ProfilerEventRelativesView::~QV8ProfilerEventRelativesView()
void QV8ProfilerEventRelativesView::displayType(int index)
{
QV8ProfilerDataModel::QV8EventData *event = m_v8Model->v8EventDescription(index);
QTC_CHECK(event);
QTC_ASSERT(event, return);
QList<QV8ProfilerDataModel::QV8EventSub*> events;
if (m_type == ParentsView)
......
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