aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index 9fc4b7b1..f0d4c9bf 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -62,12 +62,14 @@
*/
- (void)awakeFromNib
{
- // Set Sparkle delegate
- [[SUUpdater sharedUpdater] setDelegate:self];
-
+
+ // Set up the prefs controller
prefsController = [[SPPreferenceController alloc] init];
aboutController = nil;
-
+
+ // Set Sparkle delegate
+ [[SUUpdater sharedUpdater] setDelegate:self];
+
// Register SPAppController as services provider
[NSApp setServicesProvider:self];