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

Felix Paul Kühne git at videolan.org
Thu Jul 11 21:36:50 CEST 2013


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Jul 11 21:36:42 2013 +0200| [e69b85876e8d0038a0dd3cb3cf5452b4fdd13225] | committer: Felix Paul Kühne

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

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

 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