summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qs60style_s60.cpp
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2010-01-27 11:35:35 (GMT)
committerSami Merila <sami.merila@nokia.com>2010-01-27 11:35:35 (GMT)
commitac1a7e4469050aa70d065e3c7def9b3fe7aca4a8 (patch)
treed64afdbb6bfda73e74bbe58aae22b25cd1088ce1 /src/gui/styles/qs60style_s60.cpp
parent9eea7172d4d4984a111f009a60f5eaa0568fcf89 (diff)
downloadQt-ac1a7e4469050aa70d065e3c7def9b3fe7aca4a8.zip
Qt-ac1a7e4469050aa70d065e3c7def9b3fe7aca4a8.tar.gz
Qt-ac1a7e4469050aa70d065e3c7def9b3fe7aca4a8.tar.bz2
Polishing QS60Style by removing compiler warning
Removes one compiler warning caused by animation support additions (member variables are initialized in incorrect order in default constructor). Also, removing unnecessary struct variable and one unnecessary scope definition. Reviewed-by: Alessandro Portale
Diffstat (limited to 'src/gui/styles/qs60style_s60.cpp')
-rw-r--r--src/gui/styles/qs60style_s60.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qs60style_s60.cpp b/src/gui/styles/qs60style_s60.cpp
index a3bb169..872bc2b 100644
--- a/src/gui/styles/qs60style_s60.cpp
+++ b/src/gui/styles/qs60style_s60.cpp
@@ -105,7 +105,7 @@ AnimationData::AnimationData(const QS60StyleEnums::SkinParts part, int frames, i
}
AnimationDataV2::AnimationDataV2(const AnimationData &data) : AnimationData(data.m_id, data.m_frames, data.m_interval),
- m_resourceBased(false), m_animation(0), m_timerId(0)
+ m_animation(0), m_currentFrame(0), m_resourceBased(false), m_timerId(0)
{
}
AnimationDataV2::~AnimationDataV2()