QmlDesigner: Slow down the preview timer

The painting is slowing down the form editor.

Change-Id: I71afbefff353d23bd25fb9877ee70b896b73b378
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
This commit is contained in:
Marco Bubke
2014-07-07 14:21:02 +02:00
committed by Tim Jenssen
parent fa941e1e16
commit b04304ee11
@@ -42,6 +42,8 @@ namespace QmlDesigner {
Qt5PreviewNodeInstanceServer::Qt5PreviewNodeInstanceServer(NodeInstanceClientInterface *nodeInstanceClient) :
Qt5NodeInstanceServer(nodeInstanceClient)
{
setSlowRenderTimerInterval(100000000);
setRenderTimerInterval(100);
}
void Qt5PreviewNodeInstanceServer::createScene(const CreateSceneCommand &command)