diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-05 13:00:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-05 13:00:48 +0300 |
commit | cc6a796f11bdbce53b60c0992020c569f74dd9ce (patch) | |
tree | 29634fbf1d66a8cb0517f8fbbaa00e66f44cc0c3 | |
parent | 80f3c30a3ff76d68aaf8ae65c1438170539c4c4b (diff) | |
download | manaverse-cc6a796f11bdbce53b60c0992020c569f74dd9ce.tar.gz manaverse-cc6a796f11bdbce53b60c0992020c569f74dd9ce.tar.bz2 manaverse-cc6a796f11bdbce53b60c0992020c569f74dd9ce.tar.xz manaverse-cc6a796f11bdbce53b60c0992020c569f74dd9ce.zip |
add profiler label into gui.
-rw-r--r-- | src/gui/gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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() |