trollixx

Untitled

Jan 28th, 2013
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. oleg@oleg-luxoft:~/Temp/qt5-qnx/qtdeclarative$ git di 131d4fe307e4c3ccee7940746120ff6462603e01
  2. diff --git a/src/quick/items/qquickflickable.cpp b/src/quick/items/qquickflickable.cpp
  3. index c1e8dd3..ef3e6b6 100644
  4. --- a/src/quick/items/qquickflickable.cpp
  5. +++ b/src/quick/items/qquickflickable.cpp
  6. @@ -75,13 +75,21 @@ QT_BEGIN_NAMESPACE
  7.  
  8. // The default maximum velocity of a flick.
  9. #ifndef QML_FLICK_DEFAULTMAXVELOCITY
  10. +#ifdef Q_OS_BLACKBERRY
  11. +#define QML_FLICK_DEFAULTMAXVELOCITY 10000
  12. +#else
  13. #define QML_FLICK_DEFAULTMAXVELOCITY 2500
  14. #endif
  15. +#endif
  16.  
  17. // The default deceleration of a flick.
  18. #ifndef QML_FLICK_DEFAULTDECELERATION
  19. +#ifdef Q_OS_BLACKBERRY
  20. +#define QML_FLICK_DEFAULTDECELERATION 5000
  21. +#else
  22. #define QML_FLICK_DEFAULTDECELERATION 1500
  23. #endif
  24. +#endif
  25.  
  26. // How much faster to decelerate when overshooting
  27. #ifndef QML_FLICK_OVERSHOOTFRICTION
Advertisement
Add Comment
Please, Sign In to add comment