From ca60c045b134644140d557c9d249cebfdb2ea580 Mon Sep 17 00:00:00 2001 From: masakih Date: Wed, 21 Oct 2015 20:10:54 +0900 Subject: [PATCH] =?utf8?q?=E3=82=B9=E3=82=AF=E3=83=AA=E3=83=BC=E3=83=B3?= =?utf8?q?=E3=82=B7=E3=83=A7=E3=83=83=E3=83=88=E3=82=92=E3=81=A8=E3=81=A3?= =?utf8?q?=E3=81=9F=E6=99=82=E3=81=AB=E3=83=86=E3=82=B9=E3=83=88=E7=94=A8?= =?utf8?q?=E3=83=AD=E3=82=AF=E3=82=99=E3=81=8B=E3=82=99=E5=87=BA=E5=8A=9B?= =?utf8?q?=E3=81=95=E3=82=8C=E3=82=8B=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE?= =?utf8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- KCD/HMScreenshotListWindowController.m | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/KCD/HMScreenshotListWindowController.m b/KCD/HMScreenshotListWindowController.m index d2731912..8d5c8bdb 100644 --- a/KCD/HMScreenshotListWindowController.m +++ b/KCD/HMScreenshotListWindowController.m @@ -220,7 +220,7 @@ { dispatch_queue_t queue = dispatch_queue_create("Screenshot queue", DISPATCH_QUEUE_SERIAL); dispatch_async(queue, ^{ - NSDate *date00 = [NSDate dateWithTimeIntervalSinceNow:0.0]; +// NSDate *date00 = [NSDate dateWithTimeIntervalSinceNow:0.0]; NSData *imageData = [image representationUsingType:NSJPEGFileType properties:@{}]; @@ -233,15 +233,15 @@ filename = [filename stringByAppendingPathExtension:@"jpg"]; NSString *path = [[self screenshotSaveDirectoryPath] stringByAppendingPathComponent:filename]; - NSDate *date01 = [NSDate dateWithTimeIntervalSinceNow:0.0]; +// NSDate *date01 = [NSDate dateWithTimeIntervalSinceNow:0.0]; path = [[NSFileManager defaultManager] _web_pathWithUniqueFilenameForPath:path]; - NSDate *date02 = [NSDate dateWithTimeIntervalSinceNow:0.0]; +// NSDate *date02 = [NSDate dateWithTimeIntervalSinceNow:0.0]; [imageData writeToFile:path atomically:YES]; - NSDate *date03 = [NSDate dateWithTimeIntervalSinceNow:0.0]; +// NSDate *date03 = [NSDate dateWithTimeIntervalSinceNow:0.0]; HMScreenshotInformation *info = [HMScreenshotInformation new]; info.path = path; @@ -254,14 +254,14 @@ [self.window makeKeyAndOrderFront:nil]; } - NSDate *date04 = [NSDate dateWithTimeIntervalSinceNow:0.0]; +// NSDate *date04 = [NSDate dateWithTimeIntervalSinceNow:0.0]; - NSLog(@"01 -> %lf\n02 -> %lf\n03 -> %lf\n04 -> %lf", - [date01 timeIntervalSinceDate:date00], - [date02 timeIntervalSinceDate:date01], - [date03 timeIntervalSinceDate:date02], - [date04 timeIntervalSinceDate:date03] - ); +// NSLog(@"01 -> %lf\n02 -> %lf\n03 -> %lf\n04 -> %lf", +// [date01 timeIntervalSinceDate:date00], +// [date02 timeIntervalSinceDate:date01], +// [date03 timeIntervalSinceDate:date02], +// [date04 timeIntervalSinceDate:date03] +// ); }); } -- 2.11.0