1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-30 19:03:04 +00:00

Display the number of active torrents when quitting, not downloading torrents

This commit is contained in:
Eric Petit 2006-02-01 00:14:26 +00:00
parent 00ef8642bf
commit bb7711ed2c

View file

@ -189,7 +189,8 @@ static void sleepCallBack( void * controller, io_service_t y,
NSString * message = active == 1
? @"There is an active torrent. Do you really want to quit?"
: [NSString stringWithFormat:
@"There are %d active torrents. Do you really want to quit?", fDownloading];
@"There are %d active torrents. Do you really want to quit?",
active];
NSBeginAlertSheet(@"Confirm Quit",
@"Quit", @"Cancel", nil,