forked from qt-creator/qt-creator
QmlProfiler: fix repaint issues in timeline overview
Change-Id: I4db50cd61dd5c9741168a06831d08a3b54801ac6 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -87,10 +87,10 @@ Canvas2D {
|
||||
|
||||
// ***** slots
|
||||
onDrawRegion: {
|
||||
if (dataAvailable)
|
||||
Plotter.plot(canvas, ctxt, region);
|
||||
else {
|
||||
Plotter.qmlEventList = qmlEventList;
|
||||
if (dataAvailable) {
|
||||
Plotter.plot(canvas, ctxt, region);
|
||||
} else {
|
||||
Plotter.drawGraph(canvas, ctxt, region) //just draw the background
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user