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:
parent
8e7d08fc83
commit
54741eb20a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue