summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-05 13:00:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-05 13:00:48 +0300
commitcc6a796f11bdbce53b60c0992020c569f74dd9ce (patch)
tree29634fbf1d66a8cb0517f8fbbaa00e66f44cc0c3 /src
parent80f3c30a3ff76d68aaf8ae65c1438170539c4c4b (diff)
downloadmv-cc6a796f11bdbce53b60c0992020c569f74dd9ce.tar.gz
mv-cc6a796f11bdbce53b60c0992020c569f74dd9ce.tar.bz2
mv-cc6a796f11bdbce53b60c0992020c569f74dd9ce.tar.xz
mv-cc6a796f11bdbce53b60c0992020c569f74dd9ce.zip
add profiler label into gui.
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui.cpp2
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()