• R/O
  • HTTP
  • SSH
  • HTTPS

KCD: Commit

main code repository.


Commit MetaInfo

Revisionca60c045b134644140d557c9d249cebfdb2ea580 (tree)
Time2015-10-21 20:10:54
Authormasakih <masakih@user...>
Commitermasakih

Log Message

スクリーンショットをとった時にテスト用ログが出力される問題を修正

Change Summary

Incremental Difference

--- a/KCD/HMScreenshotListWindowController.m
+++ b/KCD/HMScreenshotListWindowController.m
@@ -220,7 +220,7 @@
220220 {
221221 dispatch_queue_t queue = dispatch_queue_create("Screenshot queue", DISPATCH_QUEUE_SERIAL);
222222 dispatch_async(queue, ^{
223- NSDate *date00 = [NSDate dateWithTimeIntervalSinceNow:0.0];
223+// NSDate *date00 = [NSDate dateWithTimeIntervalSinceNow:0.0];
224224
225225 NSData *imageData = [image representationUsingType:NSJPEGFileType properties:@{}];
226226
@@ -233,15 +233,15 @@
233233 filename = [filename stringByAppendingPathExtension:@"jpg"];
234234 NSString *path = [[self screenshotSaveDirectoryPath] stringByAppendingPathComponent:filename];
235235
236- NSDate *date01 = [NSDate dateWithTimeIntervalSinceNow:0.0];
236+// NSDate *date01 = [NSDate dateWithTimeIntervalSinceNow:0.0];
237237
238238 path = [[NSFileManager defaultManager] _web_pathWithUniqueFilenameForPath:path];
239239
240- NSDate *date02 = [NSDate dateWithTimeIntervalSinceNow:0.0];
240+// NSDate *date02 = [NSDate dateWithTimeIntervalSinceNow:0.0];
241241
242242 [imageData writeToFile:path atomically:YES];
243243
244- NSDate *date03 = [NSDate dateWithTimeIntervalSinceNow:0.0];
244+// NSDate *date03 = [NSDate dateWithTimeIntervalSinceNow:0.0];
245245
246246 HMScreenshotInformation *info = [HMScreenshotInformation new];
247247 info.path = path;
@@ -254,14 +254,14 @@
254254 [self.window makeKeyAndOrderFront:nil];
255255 }
256256
257- NSDate *date04 = [NSDate dateWithTimeIntervalSinceNow:0.0];
257+// NSDate *date04 = [NSDate dateWithTimeIntervalSinceNow:0.0];
258258
259- NSLog(@"01 -> %lf\n02 -> %lf\n03 -> %lf\n04 -> %lf",
260- [date01 timeIntervalSinceDate:date00],
261- [date02 timeIntervalSinceDate:date01],
262- [date03 timeIntervalSinceDate:date02],
263- [date04 timeIntervalSinceDate:date03]
264- );
259+// NSLog(@"01 -> %lf\n02 -> %lf\n03 -> %lf\n04 -> %lf",
260+// [date01 timeIntervalSinceDate:date00],
261+// [date02 timeIntervalSinceDate:date01],
262+// [date03 timeIntervalSinceDate:date02],
263+// [date04 timeIntervalSinceDate:date03]
264+// );
265265
266266 });
267267 }
Show on old repository browser