Initialize viewfinderFilters to null
authorMohammed Sameer <msameer@foolab.org>
Mon, 7 Jan 2013 22:20:45 +0000 (00:20 +0200)
committerMohammed Sameer <msameer@foolab.org>
Mon, 7 Jan 2013 22:20:45 +0000 (00:20 +0200)
If the configuration file doesn't specify any filters to use then this pointer carries
garbage.

lib/qtcamdevice_p.h

index 7421652..d94d34d 100644 (file)
@@ -49,7 +49,8 @@ public:
     viewfinder(0),
     conf(0),
     error(false),
-    notifications(0) {
+    notifications(0),
+    viewfinderFilters(0) {
 
   }