From 784a073764309e0cdd631b654b02b90e1c37f52c Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Mon, 31 Oct 2005 00:51:06 +0000 Subject: [PATCH] Quit is now handled by a menu key equivalent. --- stepmania/src/StepMania.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index cf6981813e..6cb224d0be 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -1290,7 +1290,7 @@ bool HandleGlobalInputs( const InputEventPlus &input ) return false; // Attract need to know because they go to TitleMenu on > 1 credit } -#ifndef MACOSX +#if !defined(MACOSX) if( input.DeviceI == DeviceInput(DEVICE_KEYBOARD, KEY_F4) ) { if( INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, KEY_RALT)) || @@ -1301,17 +1301,6 @@ bool HandleGlobalInputs( const InputEventPlus &input ) return true; } } -#else - if( input.DeviceI == DeviceInput(DEVICE_KEYBOARD, KEY_Cq) ) - { - if(INPUTFILTER->IsBeingPressed(DeviceInput(DEVICE_KEYBOARD, KEY_RMETA)) || - INPUTFILTER->IsBeingPressed(DeviceInput(DEVICE_KEYBOARD, KEY_LMETA))) - { - // pressed CMD-Q - ExitGame(); - return true; - } - } #endif bool bDoScreenshot =