[vlc-commits] macosx: fix runtime exception when deleting a podcast (close #8948)

Felix Paul Kühne git at videolan.org
Fri Jul 12 14:20:46 CEST 2013


vlc/vlc-2.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Jul 11 21:36:42 2013 +0200| [6d9f483fd8715eda003cb913504b3760e55b78ff] | committer: Jean-Baptiste Kempf

macosx: fix runtime exception when deleting a podcast (close #8948)

(cherry picked from commit e69b85876e8d0038a0dd3cb3cf5452b4fdd13225)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=6d9f483fd8715eda003cb913504b3760e55b78ff
---

 modules/gui/macosx/MainWindow.m |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index d4e0f0c..39bc185 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -725,7 +725,6 @@ static VLCMainWindow *_o_sharedInstance = nil;
     [o_fspanel setPlay];
 
     [[[VLCMain sharedInstance] voutController] updateWindowsControlsBarWithSelector:@selector(setPlay)];
-
 }
 
 - (void)updateVolumeSlider
@@ -1179,9 +1178,8 @@ static VLCMainWindow *_o_sharedInstance = nil;
         if (playlist_IsServicesDiscoveryLoaded(p_playlist, "podcast{longname=\"Podcasts\"}")) {
             playlist_ServicesDiscoveryRemove(p_playlist, "podcast{longname=\"Podcasts\"}");
             playlist_ServicesDiscoveryAdd(p_playlist, "podcast{longname=\"Podcasts\"}");
-            [o_playlist_table reloadData];
+            [[[VLCMain sharedInstance] playlist] playlistUpdated];
         }
-
     }
 }
 



More information about the vlc-commits mailing list