From 07518d71fdcb0c16ea8ece1993b6448839346092 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 2 Mar 2014 12:25:51 +0300 Subject: Remove unused variable from gui. --- src/gui/gui.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui/gui.cpp') diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 31722797f..e3b6d2cac 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -140,7 +140,6 @@ Gui::Gui() : mGraphics(nullptr), mInput(nullptr), mFocusHandler(new FocusHandler), - mTabbing(true), mKeyListeners(), mShiftPressed(false), mMetaPressed(false), @@ -485,7 +484,7 @@ bool Gui::handleKeyInput2() // If the key event hasn't been consumed and // tabbing is enable check for tab press and // change focus. - if (!keyEventConsumed && mTabbing && keyInput.getActionId() + if (!keyEventConsumed && keyInput.getActionId() == static_cast(Input::KEY_GUI_TAB) && keyInput.getType() == KeyInput::PRESSED) { -- cgit v1.2.3-60-g2f50