Resolve all warnings for Preferences target.
parent
826b108429
commit
0df2dc2160
|
@ -363,7 +363,7 @@
|
|||
089C1669FE841209C02AAC07 /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 1130;
|
||||
LastUpgradeCheck = 1230;
|
||||
TargetAttributes = {
|
||||
8D5B49AC048680CD000E48DA = {
|
||||
DevelopmentTeam = "";
|
||||
|
@ -567,6 +567,7 @@
|
|||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
|
@ -613,6 +614,7 @@
|
|||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1150"
|
||||
LastUpgradeVersion = "1230"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
|
|
|
@ -3,5 +3,6 @@
|
|||
//
|
||||
|
||||
#ifdef __OBJC__
|
||||
#import <AssertMacros.h>
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#endif
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
if ( oldPath != nil )
|
||||
[panel setDirectoryURL:[NSURL fileURLWithPath:oldPath]];
|
||||
NSInteger result = [panel runModal];
|
||||
if(result == NSOKButton)
|
||||
if(result == NSModalResponseOK)
|
||||
{
|
||||
[[NSUserDefaults standardUserDefaults] setValue:[[panel URL] path] forKey:@"soundFontPath"];
|
||||
}
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#import <CoreAudio/AudioHardware.h>
|
||||
|
||||
@interface OutputsArrayController : NSArrayController
|
||||
{
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#import "OutputsArrayController.h"
|
||||
|
||||
#import <CoreAudio/AudioHardware.h>
|
||||
|
||||
@implementation OutputsArrayController
|
||||
|
||||
- (void)awakeFromNib
|
||||
|
|
Loading…
Reference in New Issue