mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Removed extraneous KVC will/didChangeValueForKey calls. Thanks, Christiaan Hofman, for pointing out that I am dumb.
This commit is contained in:
1 parent
fe98a431c6
commit
da1e70dac5
1 file changed
-6
@@ -90,9 +90,7 @@
|
||||
|
||||
- (void)setProgressValue:(double)value
|
||||
{
|
||||
[self willChangeValueForKey:@"progressValue"];
|
||||
progressValue = value;
|
||||
[self didChangeValueForKey:@"progressValue"];
|
||||
}
|
||||
|
||||
- (double)maxProgressValue
|
||||
@@ -102,17 +100,13 @@
|
||||
|
||||
- (void)setMaxProgressValue:(double)value
|
||||
{
|
||||
[self willChangeValueForKey:@"maxProgressValue"];
|
||||
maxProgressValue = value;
|
||||
[self didChangeValueForKey:@"maxProgressValue"];
|
||||
[self setProgressValue:0];
|
||||
}
|
||||
|
||||
- (void)setStatusText:(NSString *)aStatusText
|
||||
{
|
||||
[self willChangeValueForKey:@"statusText"];
|
||||
statusText = [aStatusText copy];
|
||||
[self didChangeValueForKey:@"statusText"];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user