From cc6a796f11bdbce53b60c0992020c569f74dd9ce Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 5 Apr 2014 13:00:48 +0300 Subject: add profiler label into gui. --- src/gui/gui.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 9a50583b9..039fbebfb 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -1301,6 +1301,7 @@ void Gui::distributeKeyEvent(KeyEvent &event) const void Gui::distributeKeyEventToGlobalKeyListeners(KeyEvent& event) { + BLOCK_START("Gui::distributeKeyEventToGlobalKeyListeners") const unsigned int eventType = event.getType(); FOR_EACH (KeyListenerListIterator, it, mKeyListeners) { @@ -1319,6 +1320,7 @@ void Gui::distributeKeyEventToGlobalKeyListeners(KeyEvent& event) if (event.isConsumed()) break; } + BLOCK_END("Gui::distributeKeyEventToGlobalKeyListeners") } void Gui::handleModalMouseInputFocus() -- cgit v1.2.3-70-g09d2