From 6bde0531a61212a075490d2701d44ede7b35211b Mon Sep 17 00:00:00 2001 From: WebFreak001 Date: Thu, 11 Jun 2020 23:16:18 +0200 Subject: remove q/escape button to quit regular alt-f4 (or similar) key combinations work fine --- src/main.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 8e0aeee..dddee0e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -849,11 +849,6 @@ bool CMainApplication::HandleInput() } else if ( sdlEvent.type == SDL_KEYDOWN ) { - if ( sdlEvent.key.keysym.sym == SDLK_ESCAPE - || sdlEvent.key.keysym.sym == SDLK_q ) - { - bRet = true; - } if( sdlEvent.key.keysym.sym == SDLK_w ) { m_bResetRotation = true; -- cgit v1.2.3