Remove remnants of a change long gone already - maybe this might be a reason it causes FIRE-31473 now in conjunction with 83127d2299

meow-7.2.2
Ansariel 2022-08-16 13:18:08 +02:00
parent 67bbab1fe3
commit 94eff7cb1f
1 changed files with 0 additions and 8 deletions

View File

@ -476,14 +476,6 @@ long showAlert(std::string text, std::string title, int type)
unsigned int getModifiers()
{
// <FS:ND> Try current event of app first, otherwise we might get wrong results
NSEvent *pEvent = [NSApp currentEvent];
if( pEvent != nil )
{
return [pEvent modifierFlags];
}
// </FS:ND>
return [NSEvent modifierFlags];
}