1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-12 15:14:12 +00:00

#2611 Transmission doesn't recognize magnet dragged onto application window

This commit is contained in:
Mitchell Livingston 2009-11-27 16:31:05 +00:00
parent 8e7d08fc83
commit 54741eb20a

View file

@ -2882,7 +2882,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
NSURL * url; NSURL * url;
if ((url = [NSURL URLFromPasteboard: pasteboard])) if ((url = [NSURL URLFromPasteboard: pasteboard]))
{ {
[[NSURLDownload alloc] initWithRequest: [NSURLRequest requestWithURL: url] delegate: self]; [self openURL: [url absoluteString]];
return YES; return YES;
} }
} }