summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-08-27 11:39:39 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-08-27 11:44:54 (GMT)
commit3a35d00f7ee780ec3b36c8b959c1e3f964b0fb87 (patch)
tree31168de554c22c00e6fcbaa74b4ba3f66ffba27d /src
parenta185f7d57f93ef2e24d83ef552ca04e7087587b9 (diff)
downloadQt-3a35d00f7ee780ec3b36c8b959c1e3f964b0fb87.zip
Qt-3a35d00f7ee780ec3b36c8b959c1e3f964b0fb87.tar.gz
Qt-3a35d00f7ee780ec3b36c8b959c1e3f964b0fb87.tar.bz2
Animation: reordering of private members saves 8 bytes
...on the private object Reviewed-by: Trust Me
Diffstat (limited to 'src')
-rw-r--r--src/corelib/animation/qvariantanimation_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/animation/qvariantanimation_p.h b/src/corelib/animation/qvariantanimation_p.h
index ce625f1..da120df 100644
--- a/src/corelib/animation/qvariantanimation_p.h
+++ b/src/corelib/animation/qvariantanimation_p.h
@@ -78,10 +78,7 @@ public:
void setDefaultStartEndValue(const QVariant &value);
- int duration;
- QEasingCurve easing;
- QVariantAnimation::KeyValues keyValues;
QVariant currentValue;
QVariant defaultStartEndValue;
@@ -91,6 +88,9 @@ public:
QVariantAnimation::KeyValue start, end;
} currentInterval;
+ QEasingCurve easing;
+ int duration;
+ QVariantAnimation::KeyValues keyValues;
QVariantAnimation::Interpolator interpolator;
void setCurrentValueForProgress(const qreal progress);