forked from qt-creator/qt-creator
Remove extra clear() on loadData()
Change-Id: Ibe0bdc58efaccd28ffc4d4e923a085092ec722e5 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -81,7 +81,6 @@ int InputEventsModel::collapsedRow(int index) const
|
||||
|
||||
void InputEventsModel::loadData()
|
||||
{
|
||||
clear();
|
||||
QmlProfilerDataModel *simpleModel = modelManager()->qmlModel();
|
||||
if (simpleModel->isEmpty())
|
||||
return;
|
||||
|
@@ -144,7 +144,6 @@ struct RangeStackFrame {
|
||||
|
||||
void MemoryUsageModel::loadData()
|
||||
{
|
||||
clear();
|
||||
QmlProfilerDataModel *simpleModel = modelManager()->qmlModel();
|
||||
if (simpleModel->isEmpty())
|
||||
return;
|
||||
|
@@ -162,7 +162,6 @@ QVariantMap PixmapCacheModel::details(int index) const
|
||||
|
||||
void PixmapCacheModel::loadData()
|
||||
{
|
||||
clear();
|
||||
QmlProfilerDataModel *simpleModel = modelManager()->qmlModel();
|
||||
if (simpleModel->isEmpty())
|
||||
return;
|
||||
|
@@ -129,7 +129,6 @@ QVariantMap SceneGraphTimelineModel::details(int index) const
|
||||
|
||||
void SceneGraphTimelineModel::loadData()
|
||||
{
|
||||
clear();
|
||||
QmlProfilerDataModel *simpleModel = modelManager()->qmlModel();
|
||||
if (simpleModel->isEmpty())
|
||||
return;
|
||||
|
Reference in New Issue
Block a user