mirror of
https://github.com/transmission/transmission
synced 2025-02-20 13:16:53 +00:00
add missing image and testing code
This commit is contained in:
parent
ae2c7c8f12
commit
39e3ed4c05
2 changed files with 1 additions and 3 deletions
|
@ -75,11 +75,9 @@
|
|||
tr_torrentRates(fLib, &downloadRate, &uploadRate);
|
||||
|
||||
BOOL upload = checkUpload && uploadRate >= 0.1;
|
||||
upload = YES;
|
||||
if (upload)
|
||||
[self badge: [NSImage imageNamed: @"UploadBadge.png"] string: [NSString stringForSpeedAbbrev: uploadRate] atHeight: 0.0];
|
||||
//if (checkDownload && downloadRate >= 0.1)
|
||||
if (YES)
|
||||
if (checkDownload && downloadRate >= 0.1)
|
||||
{
|
||||
//download rate above upload rate
|
||||
float bottom = upload ? [[NSImage imageNamed: @"UploadBadge.png"] size].height + BETWEEN_PADDING : 0.0;
|
||||
|
|
BIN
macosx/Images/QuitBadge.png
Normal file
BIN
macosx/Images/QuitBadge.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in a new issue