Timeline: Fix a runtime error message

qrc:/timeline/TimelineContent.qml:147: TypeError: Property 'clearData'
of object Timeline::TimelineRenderer_QML_135(0x99b4468) is not a
function

Change-Id: I2adfaa9ad764cde42462de6ebc22a897d3b7a74c
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
Alessandro Portale
2016-07-01 09:48:27 +02:00
committed by Alessandro Portale
parent c8150dc918
commit 611c2c3c2e

View File

@@ -47,11 +47,7 @@ public:
Q_INVOKABLE void selectNextFromSelectionId(int selectionId);
Q_INVOKABLE void selectPrevFromSelectionId(int selectionId);
// TODO: We could add some Q_INVOKABLE functions to enable or disable render passes when the the
// need arises.
void clearData();
Q_INVOKABLE void clearData();
protected:
virtual QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *updatePaintNodeData);