Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mumble/Overlay_macx.mm11
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;