aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/animations
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-05-28 10:13:32 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-05-28 08:17:02 +0000
commit61bbac145a6d69ab07e74b2f54ba1257bd6c3721 (patch)
tree0a859b03ccbcf8ed7f8c3d16202647516353032c /src/qml/animations
parent1f85383957abbc6863a8c75e9be7acbf08c6c2ad (diff)
Fix build with QT_NO_THREAD
Change-Id: I246460709eb45e1fb5a029ca14dd1d931fb0a329 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/animations')
-rw-r--r--src/qml/animations/qabstractanimationjob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/animations/qabstractanimationjob.cpp b/src/qml/animations/qabstractanimationjob.cpp
index 3f33e7e81b..4e82c7a062 100644
--- a/src/qml/animations/qabstractanimationjob.cpp
+++ b/src/qml/animations/qabstractanimationjob.cpp
@@ -78,7 +78,7 @@ QQmlAnimationTimer *QQmlAnimationTimer::instance(bool create)
inst = animationTimer() ? animationTimer()->localData() : 0;
}
#else
- static QAnimationTimer unifiedTimer;
+ static QQmlAnimationTimer unifiedTimer;
inst = &unifiedTimer;
#endif
return inst;