aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickflickablebehavior_p.h
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@crimson.no>2017-01-16 15:51:58 +0100
committerRobin Burchell <robin.burchell@crimson.no>2017-01-16 17:10:14 +0000
commit373cdc297f343932218782d3587b98af5f8ccc53 (patch)
treec312db1fd006f521e632d59c7bf372e9a0951c4a /src/quick/items/qquickflickablebehavior_p.h
parent8990cc9e260ba1685cad23a68ba2ee672ea68a0f (diff)
Remove remnants of blackberry platform support
The last remnants were removed from qtbase in 5.7 making this all dead code, so match here too. Change-Id: I10f3f1c614562f2a97ade7cdf5002065d6f79e07 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/quick/items/qquickflickablebehavior_p.h')
-rw-r--r--src/quick/items/qquickflickablebehavior_p.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/quick/items/qquickflickablebehavior_p.h b/src/quick/items/qquickflickablebehavior_p.h
index 3377728d3f..ae7fe71359 100644
--- a/src/quick/items/qquickflickablebehavior_p.h
+++ b/src/quick/items/qquickflickablebehavior_p.h
@@ -75,20 +75,12 @@
// 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
+# define QML_FLICK_DEFAULTMAXVELOCITY 2500
#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
+# define QML_FLICK_DEFAULTDECELERATION 1500
#endif
// How much faster to decelerate when overshooting