Skip to content
Snippets Groups Projects
Commit 53e6acc9 authored by Lucas Jenß's avatar Lucas Jenß Committed by Lucas Jenss
Browse files

Override - setDelegate: of PTYTabView with its parameter restricted to

the correct protocol

Fixes warning when setting the delegate of a PTYTabView to a
PSMTabBarControl, which correctly implements PTYTabViewDelegateProtocol,
but the correct override for setDelegate was missing in PTYTabView.
parent 50342054
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -57,4 +57,7 @@
// selects a tab from the contextual menu
- (void) selectTab: (id) sender;
 
// Override setDelegate so that it accepts PSMTabBarControl without warning
- (void) setDelegate: (id<PTYTabViewDelegateProtocol>) anObject;
@end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment