///////////////////////////////////////////////////////
| 176 | |
| 177 | //////////////////////////////////////////////////////////// |
| 178 | bool Window::setActive(bool active) const |
| 179 | { |
| 180 | if (m_context) |
| 181 | { |
| 182 | if (m_context->setActive(active)) |
| 183 | { |
| 184 | return true; |
| 185 | } |
| 186 | |
| 187 | err() << "Failed to activate the window's context" << std::endl; |
| 188 | return false; |
| 189 | } |
| 190 | |
| 191 | return false; |
| 192 | } |
| 193 | |
| 194 | |
| 195 | //////////////////////////////////////////////////////////// |
no outgoing calls
no test coverage detected