Return a pointer to the specified toolbar or nullptr
| 977 | // Return a pointer to the specified toolbar or nullptr |
| 978 | // |
| 979 | ToolBar *ToolManager::GetToolBar(const Identifier &type) const |
| 980 | { |
| 981 | auto end = mBars.end(), iter = mBars.find(type); |
| 982 | return (iter == end) ? nullptr : iter->second.get(); |
| 983 | } |
| 984 | |
| 985 | // |
| 986 | // Return a pointer to the top dock |
no test coverage detected