mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-02-08 14:54:08 +00:00
Merge pull request #2 from liamstask/osx-build-fix
UpdateDialogCocoa: fix compile error "Update-Installer/src/UpdateDialogC...
This commit is contained in:
commit
39b8ada727
1 changed files with 1 additions and 5 deletions
|
@ -42,18 +42,14 @@ class UpdateDialogPrivate
|
||||||
- (void) reportUpdateError: (id)arg
|
- (void) reportUpdateError: (id)arg
|
||||||
{
|
{
|
||||||
dialog->hadError = true;
|
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
|
NSAlert* alert = [NSAlert
|
||||||
alertWithMessageText: @"Update Problem"
|
alertWithMessageText: @"Update Problem"
|
||||||
defaultButton: nil
|
defaultButton: nil
|
||||||
alternateButton: nil
|
alternateButton: nil
|
||||||
otherButton: nil
|
otherButton: nil
|
||||||
informativeTextWithFormat: message];
|
informativeTextWithFormat: @"There was a problem installing the update:\n\n%@", arg];
|
||||||
[alert runModal];
|
[alert runModal];
|
||||||
[message release];
|
|
||||||
}
|
}
|
||||||
- (void) reportUpdateProgress: (id)arg
|
- (void) reportUpdateProgress: (id)arg
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue