aboutsummaryrefslogtreecommitdiff
path: root/transitioncontrol.cpp
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-02-11 16:12:21 -0200
committerSamuel Fadel <samuelfadel@gmail.com>2016-02-11 16:12:21 -0200
commit7d96918246b866a0b4aac6b4dc70e4c049c0ada9 (patch)
tree0fabeec2a9dbef56478a3d07c5728e81b8c384dc /transitioncontrol.cpp
parent5f22fd080bb62a9242d1452415f5073bcfd69c49 (diff)
RewindWorkerThread renamed to TransitionWorkerThread.
Also, added easing curve customization.
Diffstat (limited to 'transitioncontrol.cpp')
-rw-r--r--transitioncontrol.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/transitioncontrol.cpp b/transitioncontrol.cpp
index bd85405..6d3f298 100644
--- a/transitioncontrol.cpp
+++ b/transitioncontrol.cpp
@@ -3,7 +3,7 @@
#include <QObject>
#include <QThread>
-#include "rewindworkerthread.h"
+#include "transitionworkerthread.h"
// The mouse button used for interaction
static const Qt::MouseButton MOUSE_BUTTON = Qt::MiddleButton;
@@ -60,7 +60,7 @@ void TransitionControl::mouseReleaseEvent(QMouseEvent *event)
m_shouldRewind = false;
// We now have to smoothly go back to m_t == 1.0
- m_rewindThread = new RewindWorkerThread(this);
+ m_rewindThread = new TransitionWorkerThread(this);
connect(m_rewindThread, &QThread::finished, m_rewindThread, &QObject::deleteLater);
m_rewindThread->start();
}