diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-20 12:18:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-20 12:18:10 +0300 |
commit | 811b0152c0e3911a58c357ec84fac9f84dbe911a (patch) | |
tree | 6658623c25525417918503d8b69c9ebd29bebadd /src/gui/shortcutwindow.cpp | |
parent | 91f1d79f268b657c834c8df2c24368fc6067df81 (diff) | |
download | manaplus-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.gz manaplus-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.bz2 manaplus-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.xz manaplus-811b0152c0e3911a58c357ec84fac9f84dbe911a.zip |
Add more profiler labels.
Diffstat (limited to 'src/gui/shortcutwindow.cpp')
-rw-r--r-- | src/gui/shortcutwindow.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/shortcutwindow.cpp b/src/gui/shortcutwindow.cpp index ef893c1ba..87b43e758 100644 --- a/src/gui/shortcutwindow.cpp +++ b/src/gui/shortcutwindow.cpp @@ -230,3 +230,12 @@ void ShortcutWindow::widgetMoved(const gcn::Event& event) FOR_EACH (std::vector<ShortcutContainer*>::iterator, it, mPages) (*it)->setRedraw(true); } + +#ifdef USE_PROFILER +void ShortcutWindow::logicChildren() +{ + BLOCK_START("ShortcutWindow::logicChildren") + BasicContainer::logicChildren(); + BLOCK_END("ShortcutWindow::logicChildren") +} +#endif |