diff --git a/src/plugins/qmlprofiler/pixmapcachemodel.cpp b/src/plugins/qmlprofiler/pixmapcachemodel.cpp index d497c1996a6..e21fcca8231 100644 --- a/src/plugins/qmlprofiler/pixmapcachemodel.cpp +++ b/src/plugins/qmlprofiler/pixmapcachemodel.cpp @@ -349,9 +349,10 @@ void PixmapCacheModel::loadEvent(const QmlEvent &event, const QmlEventType &type } } } + } else { + insertEnd(state.started, pixmapStartTime - startTime(state.started)); } - insertEnd(state.started, pixmapStartTime - startTime(state.started)); if (pixmapType == PixmapLoadingError) { state.loadState = Error; switch (state.cacheState) {