]> git.sesse.net Git - vlc/commitdiff
macosx: playlist: remove unused _other outlets
authorDavid Fuhrmann <dfuhrmann@videolan.org>
Tue, 11 Nov 2014 12:14:18 +0000 (13:14 +0100)
committerDavid Fuhrmann <dfuhrmann@videolan.org>
Wed, 12 Nov 2014 10:32:20 +0000 (11:32 +0100)
modules/gui/macosx/playlist.h
modules/gui/macosx/playlist.m

index 07bb5181c7283abbab19e438e02a5a0f22250195..63a8941c0ebeadeb7194189beeb92343ebab5ec1 100644 (file)
 {
     IBOutlet VLCPlaylistView* o_outline_view;
 
-    IBOutlet id o_tc_name_other;
-    IBOutlet id o_tc_author_other;
-    IBOutlet id o_tc_duration_other;
-    IBOutlet VLCPlaylistView* o_outline_view_other;
-
     NSMutableDictionary *o_outline_dict;
 }
 
index 38643c46482d24c60368d05e831252af1ef6c078..80e911a5da069fd6f5e6c86ddacf5bd3999d5967 100644 (file)
     [o_outline_view setAllowsEmptySelection: NO];
     [o_outline_view expandItem: [o_outline_view itemAtRow:0]];
 
-    [o_outline_view_other setTarget: self];
-    [o_outline_view_other setDelegate: self];
-    [o_outline_view_other setDataSource: self];
-    [o_outline_view_other setAllowsEmptySelection: NO];
-
-    [[o_tc_name_other headerCell] setStringValue:_NS("Name")];
-    [[o_tc_author_other headerCell] setStringValue:_NS("Author")];
-    [[o_tc_duration_other headerCell] setStringValue:_NS("Duration")];
-
     [self reloadStyles];
 }
 
 {
     p_current_root_item = root_item;
     [o_outline_view reloadData];
-    [o_outline_view_other reloadData];
 }
 
 - (playlist_item_t *)currentPlaylistRoot
     for (NSUInteger x = 0; x < count; x++)
         [[[columns objectAtIndex:x] dataCell] setFont:fontToUse];
     [o_outline_view setRowHeight:rowHeight];
-
-    columns = [o_outline_view_other tableColumns];
-    count = columns.count;
-    for (NSUInteger x = 0; x < count; x++)
-        [[[columns objectAtIndex:x] dataCell] setFont:fontToUse];
-    [o_outline_view_other setRowHeight:rowHeight];
 }
 
 - (void)dealloc {
     [self initStrings];
 
     [o_outline_view setDoubleAction: @selector(playItem:)];
-    [o_outline_view_other setDoubleAction: @selector(playItem:)];
 
     [o_outline_view registerForDraggedTypes: [NSArray arrayWithObjects:NSFilenamesPboardType, @"VLCPlaylistItemPboardType", nil]];
     [o_outline_view setIntercellSpacing: NSMakeSize (0.0, 1.0)];
 
-    [o_outline_view_other registerForDraggedTypes: [NSArray arrayWithObjects:NSFilenamesPboardType, @"VLCPlaylistItemPboardType", nil]];
-    [o_outline_view_other setIntercellSpacing: NSMakeSize (0.0, 1.0)];
-
     /* This uses a private API, but works fine on all current OSX releases.
      * Radar ID 11739459 request a public API for this. However, it is probably
      * easier and faster to recreate similar looking bitmaps ourselves. */