diff options
author | rowanbeentje <rowan@beent.je> | 2012-10-14 21:40:56 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2012-10-14 21:40:56 +0000 |
commit | 5aa4c866a68098c65cc8268621da0cbdc2725986 (patch) | |
tree | d0e45cfa7fd5632770bbf12b6935d9dba5ba8afe /Source/SPExportController.m | |
parent | d8896ae0a22b0014d0b43706280c8a390f14b058 (diff) | |
download | sequelpro-5aa4c866a68098c65cc8268621da0cbdc2725986.tar.gz sequelpro-5aa4c866a68098c65cc8268621da0cbdc2725986.tar.bz2 sequelpro-5aa4c866a68098c65cc8268621da0cbdc2725986.zip |
- Add names for most threads created by Sequel Pro for easier debug
Diffstat (limited to 'Source/SPExportController.m')
-rw-r--r-- | Source/SPExportController.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/SPExportController.m b/Source/SPExportController.m index ef83ea7e..b014cd4e 100644 --- a/Source/SPExportController.m +++ b/Source/SPExportController.m @@ -41,6 +41,7 @@ #import "SPExportFilenameUtilities.h" #import "SPExportFileNameTokenObject.h" #import "SPDatabaseDocument.h" +#import "SPThreadAdditions.h" #import <SPMySQL/SPMySQL.h> @@ -1046,8 +1047,8 @@ static const NSString *SPSQLExportDropEnabled = @"SQLExportDropEnabled"; [uiStateDict setObject:[NSNumber numberWithInteger:[exportSQLIncludeStructureCheck state]] forKey:SPSQLExportStructureEnabled]; [uiStateDict setObject:[NSNumber numberWithInteger:[exportSQLIncludeContentCheck state]] forKey:SPSQLExportContentEnabled]; [uiStateDict setObject:[NSNumber numberWithInteger:[exportSQLIncludeDropSyntaxCheck state]] forKey:SPSQLExportDropEnabled]; - - [NSThread detachNewThreadSelector:@selector(_toggleExportButton:) toTarget:self withObject:uiStateDict]; + + [NSThread detachNewThreadWithName:@"SPExportController export button updater" target:self selector:@selector(_toggleExportButton:) object:uiStateDict]; [uiStateDict release]; } |