Merge pull request #2 from liamstask/osx-build-fix

UpdateDialogCocoa: fix compile error "Update-Installer/src/UpdateDialogC...
This commit is contained in:
Robert Knight 2013-06-26 05:07:54 -07:00
commit 39b8ada727

View file

@ -42,18 +42,14 @@ class UpdateDialogPrivate
- (void) reportUpdateError: (id)arg
{
dialog->hadError = true;
NSMutableString* message = [[NSMutableString alloc] init];
[message appendString:@"There was a problem installing the update:\n\n"];
[message appendString:arg];
NSAlert* alert = [NSAlert
alertWithMessageText: @"Update Problem"
defaultButton: nil
alternateButton: nil
otherButton: nil
informativeTextWithFormat: message];
informativeTextWithFormat: @"There was a problem installing the update:\n\n%@", arg];
[alert runModal];
[message release];
}
- (void) reportUpdateProgress: (id)arg
{