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/SPPrintController.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/SPPrintController.m')
-rw-r--r-- | Source/SPPrintController.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPPrintController.m b/Source/SPPrintController.m index 8100e218..5c4ad477 100644 --- a/Source/SPPrintController.m +++ b/Source/SPPrintController.m @@ -166,6 +166,7 @@ if ([NSThread isMainThread]) { printThread = [[NSThread alloc] initWithTarget:self selector:(isTableInformation) ? @selector(generateTableInfoHTMLForPrinting) : @selector(generateHTMLForPrinting) object:nil]; + [printThread setName:@"SPPrintController document generator"]; [self enableTaskCancellationWithTitle:NSLocalizedString(@"Cancel", @"cancel button") callbackObject:self callbackFunction:@selector(generateHTMLForPrintingCallback)]; |