| 297 | } |
| 298 | |
| 299 | void ConnInfoUI::DoConnect() |
| 300 | { |
| 301 | if (m_Thread.isRunning()) return; |
| 302 | |
| 303 | m_pWork.reset(new Base::RunnableAdapter<ConnInfoUI>(*this, &ConnInfoUI::BackgroundWork)); |
| 304 | try |
| 305 | { |
| 306 | m_Thread.start(*m_pWork); |
| 307 | } |
| 308 | catch (std::exception& ex) |
| 309 | { |
| 310 | /// who care ? |
| 311 | (void)(ex); |
| 312 | } |
| 313 | } |
| 314 | |
| 315 | void ConnInfoUI::BackgroundWork( void ) |
| 316 | { |