Commit f1e6e8c5 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.NodeInstances: Slow down all animations

parent 06b3ce96
......@@ -14,6 +14,8 @@
#include <QDeclarativeComponent>
#include <QDeclarativeContext>
#include <private/qlistmodelinterface_p.h>
#include <QAbstractAnimation>
#include <private/qabstractanimation_p.h>
#include "servernodeinstance.h"
#include "childrenchangeeventfilter.h"
......@@ -840,6 +842,8 @@ void NodeInstanceServer::initializeDeclarativeView()
#ifdef Q_WS_MAC
m_declarativeView->setAttribute(Qt::WA_DontShowOnScreen, true);
#endif
QUnifiedTimer::instance()->setSlowdownFactor(1000000.);
QUnifiedTimer::instance()->setSlowModeEnabled(true);
}
QImage NodeInstanceServer::renderPreviewImage()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment