From 2740b416b99855e0b411b06dce2fc1eb4fa93f2c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 3 Mar 2014 18:09:05 +0300 Subject: Remove 2 from methods name in gui. --- src/gui/gui.cpp | 8 ++++---- src/gui/gui.h | 2 +- 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(); -- cgit v1.2.3-60-g2f50