diff options
author | Adriano Rezende <adriano.rezende@openbossa.org> | 2009-10-29 21:14:22 -0300 |
---|---|---|
committer | Adriano Rezende <adriano.rezende@openbossa.org> | 2009-10-29 22:36:50 -0300 |
commit | c95329ef791f589570991a5bead175af1e46c1ed (patch) | |
tree | f1de18065eb50f7af4e5fefd23f3e032732a1b81 /hyperui | |
parent | b2d50aeb85aa7142eae8cebe3e8502662e093e51 (diff) |
HyperUI: Use linear transition by default
The flip transition should be used only with opengl, since it's not smooth
yet via software rendering.
Diffstat (limited to 'hyperui')
-rw-r--r-- | hyperui/pageview.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hyperui/pageview.cpp b/hyperui/pageview.cpp index 219dd83..f68a982 100644 --- a/hyperui/pageview.cpp +++ b/hyperui/pageview.cpp @@ -42,6 +42,9 @@ #include "pagemenu.h" #include "pageview.h" +// XXX: adjust to false when opengl is available +#define USE_LINEAR_TRANSITION true + class PageSlot : public QGraphicsWidget { @@ -89,7 +92,7 @@ PageSlot::PageSlot(QGraphicsItem *parent) #ifdef Q_OS_SYMBIAN m_isLinearTransition = true; #else - m_isLinearTransition = false; + m_isLinearTransition = USE_LINEAR_TRANSITION; #endif m_rotation->setAxis(Qt::YAxis); |