summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-09-29 19:46:41 +0200
committerDamiano Galassi <[email protected]>2015-09-29 19:46:41 +0200
commitc7ba32bd781b0ac0dd9073b2bcfb1aa8fc67c95f (patch)
treebfad822d7aa3d1af6bed10882594ea32e6e9ee12 /macosx/HBJob.h
parentbee2af0f25eafef22154808af7d102d079762122 (diff)
MacGui: safer HBTitle by checking init, and use a weak property for title in HBJob
Diffstat (limited to 'macosx/HBJob.h')
-rw-r--r--macosx/HBJob.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBJob.h b/macosx/HBJob.h
index 5808320cd..73779ecee 100644
--- a/macosx/HBJob.h
+++ b/macosx/HBJob.h
@@ -47,7 +47,7 @@ typedef NS_ENUM(NSUInteger, HBJobState){
/// Current state of the job.
@property (nonatomic, readwrite) HBJobState state;
-@property (nonatomic, readwrite, assign, nullable) HBTitle *title;
+@property (nonatomic, readwrite, weak, nullable) HBTitle *title;
@property (nonatomic, readonly) int titleIdx;
@property (nonatomic, readwrite, copy) NSString *presetName;