diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-05-15 08:26:30 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-05-15 09:45:55 -0700 |
commit | 244fdaa4053994bd1ad1eaec0b54894bf1fcc4ce (patch) | |
tree | 0f19c4714b7d787e9277e3bb61186202ce46c72d | |
parent | 9eba2a66d107f30aa9216fb34ed62df60797986a (diff) | |
download | qtlocation-mapboxgl-244fdaa4053994bd1ad1eaec0b54894bf1fcc4ce.tar.gz |
[qt] Un-deprecate QMapboxGL::setTransitionOptions
It's still relevant for runtime-styling driven paint property changes.
-rw-r--r-- | platform/qt/src/qmapboxgl.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/platform/qt/src/qmapboxgl.cpp b/platform/qt/src/qmapboxgl.cpp index c37b2563b5..bfc014dcd0 100644 --- a/platform/qt/src/qmapboxgl.cpp +++ b/platform/qt/src/qmapboxgl.cpp @@ -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> { |