commit | e3a12dac93cda9e8ff282769509d71e351409d87 | [log] [tgz] |
---|---|---|
author | sjlee@webrtc.org <sjlee@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Tue Sep 17 05:15:19 2013 |
committer | sjlee@webrtc.org <sjlee@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Tue Sep 17 05:15:19 2013 |
tree | 54b4989ed553ae58dcb1c4cfd1fccca9675efd91 | |
parent | d8a5b0034b8a5ab0e45d162b2889f886f0ef1612 [diff] |
This is related to https://code.google.com/p/webrtc/issues/detail?id=846 BUG=846 R=mallinath@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2224004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@4760 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/modules/video_capture/mac/qtkit/video_capture_qtkit_info_objc.mm b/modules/video_capture/mac/qtkit/video_capture_qtkit_info_objc.mm index 18ff5ed..7b46aec 100644 --- a/modules/video_capture/mac/qtkit/video_capture_qtkit_info_objc.mm +++ b/modules/video_capture/mac/qtkit/video_capture_qtkit_info_objc.mm
@@ -60,11 +60,10 @@ { NSString* strTitle = [NSString stringWithFormat:@"%s", dialogTitleUTF8]; NSString* strButton = @"Alright"; - NSString* strMessage = [NSString stringWithFormat:@"Device %s is capturing", deviceUniqueIdUTF8]; NSAlert* alert = [NSAlert alertWithMessageText:strTitle defaultButton:strButton alternateButton:nil otherButton:nil - informativeTextWithFormat:strMessage]; + informativeTextWithFormat:@"Device %s is capturing", deviceUniqueIdUTF8]; [alert setAlertStyle:NSInformationalAlertStyle]; [alert runModal]; return [NSNumber numberWithInt:0];