| 68 | |
| 69 | |
| 70 | ControllerConnection::~ControllerConnection() |
| 71 | { |
| 72 | if( m_controller && m_controller->type() != Controller::DummyController ) |
| 73 | { |
| 74 | m_controller->removeConnection( this ); |
| 75 | } |
| 76 | s_connections.remove( s_connections.indexOf( this ) ); |
| 77 | if( m_ownsController ) |
| 78 | { |
| 79 | delete m_controller; |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | |
| 84 |
nothing calls this directly
no test coverage detected