From 94eff7cb1f949be1905c5aac90dfc0163d40904f Mon Sep 17 00:00:00 2001 From: Ansariel Date: Tue, 16 Aug 2022 13:18:08 +0200 Subject: [PATCH] Remove remnants of a change long gone already - maybe this might be a reason it causes FIRE-31473 now in conjunction with 83127d22992e055b40298724d0cac0de108b6116 --- indra/llwindow/llwindowmacosx-objc.mm | 8 -------- 1 file changed, 8 deletions(-) diff --git a/indra/llwindow/llwindowmacosx-objc.mm b/indra/llwindow/llwindowmacosx-objc.mm index 41db6ae98e..2a88049c5c 100644 --- a/indra/llwindow/llwindowmacosx-objc.mm +++ b/indra/llwindow/llwindowmacosx-objc.mm @@ -476,14 +476,6 @@ long showAlert(std::string text, std::string title, int type) unsigned int getModifiers() { - // Try current event of app first, otherwise we might get wrong results - NSEvent *pEvent = [NSApp currentEvent]; - if( pEvent != nil ) - { - return [pEvent modifierFlags]; - } - // - return [NSEvent modifierFlags]; }