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/windowmenu.cpp | |
parent | 91f1d79f268b657c834c8df2c24368fc6067df81 (diff) | |
download | manaverse-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.gz manaverse-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.bz2 manaverse-811b0152c0e3911a58c357ec84fac9f84dbe911a.tar.xz manaverse-811b0152c0e3911a58c357ec84fac9f84dbe911a.zip |
Add more profiler labels.
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r-- | src/gui/windowmenu.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp index 57feba81c..bc7e0f736 100644 --- a/src/gui/windowmenu.cpp +++ b/src/gui/windowmenu.cpp @@ -427,3 +427,12 @@ void WindowMenu::optionChanged(const std::string &name) if (name == "autohideButtons") mAutoHide = config.getIntValue("autohideButtons"); } + +#ifdef USE_PROFILER +void WindowMenu::logicChildren() +{ + BLOCK_START("WindowMenu::logicChildren") + BasicContainer::logicChildren(); + BLOCK_END("WindowMenu::logicChildren") +} +#endif |