[qt] Un-deprecate QMapboxGL::setTransitionOptions

It's still relevant for runtime-styling driven paint property changes.
This commit is contained in:
John Firebaugh
2017-05-15 08:26:30 -07:00
parent 9eba2a66d1
commit 244fdaa405

View File

@@ -742,11 +742,8 @@ void QMapboxGL::setGestureInProgress(bool progress)
}
/*!
Sets the \a duration and \a delay of style class transitions. Style property
values transition to new values with animation when a new class is set.
\deprecated
\sa addClass()
Sets the \a duration and \a delay of style transitions. Style paint property
values transition to new values with animation when they are updated.
*/
void QMapboxGL::setTransitionOptions(qint64 duration, qint64 delay) {
static auto convert = [](qint64 value) -> mbgl::optional<mbgl::Duration> {