aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-03-03 01:29:44 +0000
committerrowanbeentje <rowan@beent.je>2010-03-03 01:29:44 +0000
commitc96491888011538e6da8ed6b6dd2ef217c845f2b (patch)
treeb5c5b6d1af8369409f099684655496f5ab717ea1 /Source/SPAppController.m
parent300e2cb06db621fb7f651b11e5e1c6bb2f6fbd87 (diff)
downloadsequelpro-c96491888011538e6da8ed6b6dd2ef217c845f2b.tar.gz
sequelpro-c96491888011538e6da8ed6b6dd2ef217c845f2b.tar.bz2
sequelpro-c96491888011538e6da8ed6b6dd2ef217c845f2b.zip
- Addition and enabling of crash reporting and exception reporting, submitting to a new online repository. Integrates the FeedbackReporter framework.
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index d961bbf0..6ba6175d 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -33,6 +33,7 @@
#import "SPConstants.h"
#import <Sparkle/Sparkle.h>
+#import <FeedbackReporter/FRFeedbackReporter.h>
@implementation SPAppController
@@ -77,6 +78,14 @@
}
/**
+ * Initialisation stuff after launch is complete
+ */
+- (void)applicationDidFinishLaunching:(NSNotification *)notification
+{
+ [[FRFeedbackReporter sharedReporter] reportIfCrash];
+}
+
+/**
* Menu item validation.
*/
- (BOOL)validateMenuItem:(NSMenuItem *)menuItem