diff options
-rw-r--r-- | src/mumble/Overlay_macx.mm | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mumble/Overlay_macx.mm b/src/mumble/Overlay_macx.mm index ef6d6db20..b73ed9879 100644 --- a/src/mumble/Overlay_macx.mm +++ b/src/mumble/Overlay_macx.mm @@ -203,17 +203,6 @@ void OverlayClient::updateMouse() { } QPixmap pm = qmCursors.value(csShape); - if (pm.isNull()) { - NSImage *img = [cursor image]; - CGImageRef cgimg = nullptr; - NSArray *reps = [img representations]; - for (NSUInteger i = 0; i < [reps count]; i++) { - NSImageRep *rep = [reps objectAtIndex:i]; - if ([rep class] == [NSBitmapImageRep class]) { - cgimg = [(NSBitmapImageRep *)rep CGImage]; - } - } - } NSPoint p = [cursor hotSpot]; iOffsetX = (int) p.x; |