From e6ac1631450775ac4714330c7f3802e8733bdacc Mon Sep 17 00:00:00 2001 From: "sjlee@webrtc.org" Date: Tue, 17 Sep 2013 05:15:19 +0000 Subject: [PATCH] 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@4760 4adac7df-926f-26a2-2b94-8c16560cd09d --- .../video_capture/mac/qtkit/video_capture_qtkit_info_objc.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_info_objc.mm b/webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_info_objc.mm index 18ff5ed12f..7b46aec192 100644 --- a/webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_info_objc.mm +++ b/webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_info_objc.mm @@ -60,11 +60,10 @@ using namespace webrtc; { 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];