forked from qt-creator/qt-creator
QmlProfiler: avoid reference to connection in UI
The reference to the "connection" instance can become a dangling pointer. Change-Id: Icde6fed39d19f35420904f718d12931d297d1511 Reviewed-on: http://codereview.qt.nokia.com/1934 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -173,6 +173,7 @@ Rectangle {
|
||||
property real elapsedTime;
|
||||
signal updateTimer;
|
||||
Timer {
|
||||
id: elapsedTimer
|
||||
property date startDate
|
||||
property bool reset: true
|
||||
running: connection.recording
|
||||
|
||||
Reference in New Issue
Block a user