mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
#4749 When accessing images using imageNamed:, don't include the .png. This fixes the app not using the @2x images in HiDPI mode.
This commit is contained in:
@@ -267,11 +267,11 @@
|
||||
switch (level)
|
||||
{
|
||||
case TR_MSG_ERR:
|
||||
return [NSImage imageNamed: @"RedDot.png"];
|
||||
return [NSImage imageNamed: @"RedDot"];
|
||||
case TR_MSG_INF:
|
||||
return [NSImage imageNamed: @"YellowDot.png"];
|
||||
return [NSImage imageNamed: @"YellowDot"];
|
||||
case TR_MSG_DBG:
|
||||
return [NSImage imageNamed: @"PurpleDot.png"];
|
||||
return [NSImage imageNamed: @"PurpleDot"];
|
||||
default:
|
||||
NSAssert1(NO, @"Unknown message log level: %d", level);
|
||||
return nil;
|
||||
|
||||
Reference in New Issue
Block a user