summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui.cpp8
-rw-r--r--src/gui/gui.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index e3b6d2cac..b897655e2 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -411,17 +411,17 @@ void Gui::clearFonts()
bool Gui::handleInput()
{
if (mInput)
- return handleKeyInput2();
+ return handleKeyInput();
else
return false;
}
-bool Gui::handleKeyInput2()
+bool Gui::handleKeyInput()
{
if (!guiInput)
return false;
- BLOCK_START("Gui::handleKeyInput2")
+ BLOCK_START("Gui::handleKeyInput")
bool consumed(false);
while (!mInput->isKeyQueueEmpty())
@@ -495,7 +495,7 @@ bool Gui::handleKeyInput2()
}
}
} // end while
- BLOCK_END("Gui::handleKeyInput2")
+ BLOCK_END("Gui::handleKeyInput")
return consumed;
}
diff --git a/src/gui/gui.h b/src/gui/gui.h
index 82678601d..85388b8c4 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -191,7 +191,7 @@ class Gui final
bool handleInput();
- bool handleKeyInput2();
+ bool handleKeyInput();
void resetClickCount();