summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-02 12:25:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-02 12:25:51 +0300
commit07518d71fdcb0c16ea8ece1993b6448839346092 (patch)
tree31a7242c2e48a45c9cb7709b4e0d79be266b69f7 /src/gui/gui.cpp
parente710a36d3905b50861edf21f4b5ac5a79cb5ee05 (diff)
downloadmv-07518d71fdcb0c16ea8ece1993b6448839346092.tar.gz
mv-07518d71fdcb0c16ea8ece1993b6448839346092.tar.bz2
mv-07518d71fdcb0c16ea8ece1993b6448839346092.tar.xz
mv-07518d71fdcb0c16ea8ece1993b6448839346092.zip
Remove unused variable from gui.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp3
1 files changed, 1 insertions, 2 deletions
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<int>(Input::KEY_GUI_TAB)
&& keyInput.getType() == KeyInput::PRESSED)
{