Fixed some deprecated api warnings.

This commit is contained in:
Damiano Galassi committed 2016-10-13 10:54:17 +02:00
1 parent 7dcf857660
commit 5083abe3ed
12 files changed
+74 -88

No files matched your search

+1 -1
View File
@@ -1031,7 +1031,7 @@ static NSDictionary *_detailMonospacedAttr;
alert.informativeText = [NSString stringWithFormat:
NSLocalizedString(@"There was a problem creating the file \"%@\".",
"Export alert panel -> message"), panel.URL.lastPathComponent];
alert.alertStyle = NSWarningAlertStyle;
alert.alertStyle = NSAlertStyleWarning;
[alert runModal];
}