Commit e07b495b authored by Ulf Hermann's avatar Ulf Hermann
Browse files

QmlProfiler: Don't delete QObjects from outside their home thread



We cannot do this because the parent object needs to be notified.

Change-Id: Id70de2acea4aa241ea0e85b5b02327e1f91b7e68
Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
parent d54da12a
......@@ -344,7 +344,7 @@ void QmlProfilerModelManager::save(const QString &filename)
writer->saveQtd(file);
else
writer->saveQzt(file);
delete writer;
writer->deleteLater();
file->deleteLater();
});
......
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