aboutsummaryrefslogtreecommitdiff
path: root/demos/widgetsgallery/panningbenchmark.cpp
diff options
context:
space:
mode:
authorChris Skluzacek <cskludev@gmail.com>2010-07-23 22:04:37 +0300
committerTomas Junnonen <tomas.junnonen@nokia.com>2010-08-06 15:25:52 +0300
commit00052ecfcff505446a246013d514fae4173e1c8c (patch)
tree90b9424c326d35598be322309b6eabb267a959ea /demos/widgetsgallery/panningbenchmark.cpp
parentbf971e724cc7f87da5cc6dcd92969d021f77c8d7 (diff)
Fixes: NB#167386, Many classes in WidgetGallery have uninitialized members
RevBy: Dénes Dezsö Details: Ensure that all member variables are initialized properly. Also fix some issues with pointers and other minor miscellaneous items.
Diffstat (limited to 'demos/widgetsgallery/panningbenchmark.cpp')
-rw-r--r--demos/widgetsgallery/panningbenchmark.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/demos/widgetsgallery/panningbenchmark.cpp b/demos/widgetsgallery/panningbenchmark.cpp
index 6566339d..c9872f78 100644
--- a/demos/widgetsgallery/panningbenchmark.cpp
+++ b/demos/widgetsgallery/panningbenchmark.cpp
@@ -18,7 +18,10 @@ namespace {
PanningBenchmark::PanningBenchmark(
MApplicationPage * applicationPage, Timedemo * timedemo, M::OrientationAngle targetOrientationAngle) :
TimedemoBenchmark(applicationPage, timedemo),
+ pannableViewport(0),
timingStarted(false),
+ formerPosition(),
+ timer(),
targetOrientationAngle(targetOrientationAngle)
{