[vlc-commits] macosx: remove now unused untranslatedTitle property
David Fuhrmann
git at videolan.org
Sun Jan 21 14:40:07 CET 2018
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Jan 21 14:30:22 2018 +0100| [4470f44aa00b7812612c482226e3364daa7fc9d6] | committer: David Fuhrmann
macosx: remove now unused untranslatedTitle property
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4470f44aa00b7812612c482226e3364daa7fc9d6
---
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;
- at 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 09544afa79..9b86d427b5 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:
More information about the vlc-commits
mailing list