vlc/vlc-3.0 | branch: master | David Fuhrmann <[email protected]> | Sun Jan 21 14:30:22 2018 +0100| [7a12364069e3f503be9285cd5b5e5bcdda82d1f3] | committer: David Fuhrmann
macosx: remove now unused untranslatedTitle property (cherry picked from commit 4470f44aa00b7812612c482226e3364daa7fc9d6) Signed-off-by: David Fuhrmann <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=7a12364069e3f503be9285cd5b5e5bcdda82d1f3 --- modules/gui/macosx/SideBarItem.h | 1 - modules/gui/macosx/VLCMainWindow.m | 4 ---- 2 files changed, 5 deletions(-) diff --git a/modules/gui/macosx/SideBarItem.h b/modules/gui/macosx/SideBarItem.h index 3ffeafe6e9..9afae32e38 100644 --- a/modules/gui/macosx/SideBarItem.h +++ b/modules/gui/macosx/SideBarItem.h @@ -32,7 +32,6 @@ @property (nonatomic, copy) NSString *title; @property (nonatomic, copy) NSString *identifier; -@property (nonatomic, copy) NSString *untranslatedTitle; @property (nonatomic, retain) NSImage *icon; @property NSInteger badgeValue; @property NSInteger sdtype; diff --git a/modules/gui/macosx/VLCMainWindow.m b/modules/gui/macosx/VLCMainWindow.m index 52c22c8eab..93f230394d 100644 --- a/modules/gui/macosx/VLCMainWindow.m +++ b/modules/gui/macosx/VLCMainWindow.m @@ -322,19 +322,16 @@ static const float f_min_window_height = 307.; [internetItems addObject: [SideBarItem itemWithTitle: _NS(*ppsz_longname) identifier: o_identifier]]; [[internetItems lastObject] setIcon: imageFromRes(@"sidebar-podcast")]; [[internetItems lastObject] setSdtype: SD_CAT_INTERNET]; - [[internetItems lastObject] setUntranslatedTitle: toNSStr(*ppsz_longname)]; break; case SD_CAT_DEVICES: [devicesItems addObject: [SideBarItem itemWithTitle: _NS(*ppsz_longname) identifier: o_identifier]]; [[devicesItems lastObject] setIcon: imageFromRes(@"sidebar-local")]; [[devicesItems lastObject] setSdtype: SD_CAT_DEVICES]; - [[devicesItems lastObject] setUntranslatedTitle: toNSStr(*ppsz_longname)]; break; case SD_CAT_LAN: [lanItems addObject: [SideBarItem itemWithTitle: _NS(*ppsz_longname) identifier: o_identifier]]; [[lanItems lastObject] setIcon: imageFromRes(@"sidebar-local")]; [[lanItems lastObject] setSdtype: SD_CAT_LAN]; - [[lanItems lastObject] setUntranslatedTitle: toNSStr(*ppsz_longname)]; break; case SD_CAT_MYCOMPUTER: [mycompItems addObject: [SideBarItem itemWithTitle: _NS(*ppsz_longname) identifier: o_identifier]]; @@ -346,7 +343,6 @@ static const float f_min_window_height = 307.; [[mycompItems lastObject] setIcon: imageFromRes(@"sidebar-pictures")]; else [[mycompItems lastObject] setIcon: [NSImage imageNamed:@"NSApplicationIcon"]]; - [[mycompItems lastObject] setUntranslatedTitle: toNSStr(*ppsz_longname)]; [[mycompItems lastObject] setSdtype: SD_CAT_MYCOMPUTER]; break; default: _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
