| 19 | } |
| 20 | |
| 21 | void MapClientSession::AddShortcut(int index, NetCommand *command) |
| 22 | { |
| 23 | if(m_shortcuts.find(index) != m_shortcuts.end()) |
| 24 | { |
| 25 | qDebug() << "Replacing command" << index << m_shortcuts[index]->m_name << |
| 26 | "->" << command->m_name; |
| 27 | } |
| 28 | m_shortcuts[index] = command; |
| 29 | } |
| 30 | //! @} |
| 31 |
no test coverage detected