forked from qt-creator/qt-creator
QmlProfiler: Initial conversion from Quick 1 to Quick 2
Updated class names and functions. Fixed imports. Change-Id: I5f12e3a108a0e60c091acc9c415ff77e52118029 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 1.0
|
||||
import QtQuick 2.0
|
||||
import Monitor 1.0
|
||||
import "Overview.js" as Plotter
|
||||
|
||||
@@ -108,7 +108,7 @@ Canvas2D {
|
||||
onPressed: {
|
||||
jumpTo(mouse.x);
|
||||
}
|
||||
onMousePositionChanged: {
|
||||
onPositionChanged: {
|
||||
jumpTo(mouse.x);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user