Browse Source

Fix analyzer warnings

Signed-off-by: Gleb Pinigin <gpinigin@gmail.com>
Marc 11 years ago
parent
commit
1d9bf526f7

+ 1 - 0
Sources/VLCFirstStepsFifthPageViewController.m

@@ -34,6 +34,7 @@
 
 - (void)viewWillAppear:(BOOL)animated
 {
+    [super viewWillAppear:animated];
     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
         self.actualContentView.center = self.view.center;
 }

+ 2 - 0
Sources/VLCFirstStepsFirstPageViewController.m

@@ -28,11 +28,13 @@
 
 - (void)viewWillAppear:(BOOL)animated
 {
+    [super viewWillAppear:animated];
     self.actualContentView.center = self.view.center;
 }
 
 - (void)viewDidAppear:(BOOL)animated
 {
+    [super viewDidAppear:animated];
     self.actualContentView.center = self.view.center;
 }
 

+ 2 - 0
Sources/VLCFirstStepsSecondPageViewController.m

@@ -32,11 +32,13 @@
 
 - (void)viewWillAppear:(BOOL)animated
 {
+    [super viewWillAppear:animated];
     self.actualContentView.center = self.view.center;
 }
 
 - (void)viewDidAppear:(BOOL)animated
 {
+    [super viewDidAppear:animated];
     self.actualContentView.center = self.view.center;
 }
 

+ 1 - 0
Sources/VLCFirstStepsThirdPageViewController.m

@@ -49,6 +49,7 @@
 
 - (void)viewWillAppear:(BOOL)animated
 {
+    [super viewWillAppear:animated];
     self.actualContentView.center = self.view.center;
 }
 

+ 1 - 0
Sources/VLCMenuTableViewController.m

@@ -122,6 +122,7 @@
 
 - (void)viewWillAppear:(BOOL)animated
 {
+    [super viewWillAppear:animated];
     self.view.frame = CGRectMake(0.0f, 0.0f,kGHRevealSidebarWidth, CGRectGetHeight(self.view.bounds));
     [self netReachabilityChanged:nil];
 }