summaryrefslogtreecommitdiff
path: root/src/gui/error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/error.cpp')
-rw-r--r--src/gui/error.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gui/error.cpp b/src/gui/error.cpp
index 42f4b217..4a980caa 100644
--- a/src/gui/error.cpp
+++ b/src/gui/error.cpp
@@ -41,11 +41,3 @@ void ErrorDialog::action(const std::string& eventId)
state = LOGIN_STATE;
}
}
-
-void errorInputHandler(SDL_KeyboardEvent *keyEvent)
-{
- if (keyEvent->keysym.sym == SDLK_ESCAPE)
- {
- state = EXIT_STATE;
- }
-}