aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWebFreak001 <gh@webfreak.org>2020-06-11 23:16:18 +0200
committerdec05eba <dec05eba@protonmail.com>2020-06-13 07:21:25 +0200
commit6bde0531a61212a075490d2701d44ede7b35211b (patch)
treea5f73701ae302a85dde0e4da202202cf3c011e80 /src
parent4ca4bd4aea0ff94bae0802805c0ddfff97666689 (diff)
remove q/escape button to quit
regular alt-f4 (or similar) key combinations work fine
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp5
1 files changed, 0 insertions, 5 deletions
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;