You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
640 B
12 lines
640 B
diff --git a/src/plugins/platforms/cocoa/qcocoasystemtrayicon.mm b/src/plugins/platforms/cocoa/qcocoasystemtrayicon.mm |
|
index 4982f5ee05..3ae1e4fca3 100644 |
|
--- a/src/plugins/platforms/cocoa/qcocoasystemtrayicon.mm |
|
+++ b/src/plugins/platforms/cocoa/qcocoasystemtrayicon.mm |
|
@@ -224,6 +224,7 @@ void QCocoaSystemTrayIcon::updateIcon(const QIcon &icon) |
|
r.moveCenter(fullHeightPixmap.rect().center()); |
|
p.drawPixmap(r, pixmap); |
|
} |
|
+ fullHeightPixmap.setDevicePixelRatio(devicePixelRatio); |
|
|
|
NSImage *nsimage = static_cast<NSImage *>(qt_mac_create_nsimage(fullHeightPixmap)); |
|
[nsimage setTemplate:icon.isMask()];
|
|
|