Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- oleg@oleg-luxoft:~/Temp/qt5-qnx/qtdeclarative$ git di 131d4fe307e4c3ccee7940746120ff6462603e01
- diff --git a/src/quick/items/qquickflickable.cpp b/src/quick/items/qquickflickable.cpp
- index c1e8dd3..ef3e6b6 100644
- --- a/src/quick/items/qquickflickable.cpp
- +++ b/src/quick/items/qquickflickable.cpp
- @@ -75,13 +75,21 @@ QT_BEGIN_NAMESPACE
- // The default maximum velocity of a flick.
- #ifndef QML_FLICK_DEFAULTMAXVELOCITY
- +#ifdef Q_OS_BLACKBERRY
- +#define QML_FLICK_DEFAULTMAXVELOCITY 10000
- +#else
- #define QML_FLICK_DEFAULTMAXVELOCITY 2500
- #endif
- +#endif
- // The default deceleration of a flick.
- #ifndef QML_FLICK_DEFAULTDECELERATION
- +#ifdef Q_OS_BLACKBERRY
- +#define QML_FLICK_DEFAULTDECELERATION 5000
- +#else
- #define QML_FLICK_DEFAULTDECELERATION 1500
- #endif
- +#endif
- // How much faster to decelerate when overshooting
- #ifndef QML_FLICK_OVERSHOOTFRICTION
Advertisement
Add Comment
Please, Sign In to add comment