| 1313 | } |
| 1314 | |
| 1315 | void |
| 1316 | CallbacksManager::onComPipeDataWrittenTo() |
| 1317 | { |
| 1318 | QString str = QString::fromUtf8( _comPipeConnection->readLine() ); |
| 1319 | |
| 1320 | while ( str.endsWith( QLatin1Char('\n') ) ) { |
| 1321 | str.chop(1); |
| 1322 | } |
| 1323 | if ( str == QString::fromUtf8(NATRON_NATRON_TO_BREAKPAD_EXISTENCE_CHECK) ) { |
| 1324 | _comPipeConnection->write(NATRON_NATRON_TO_BREAKPAD_EXISTENCE_CHECK_ACK "\n"); |
| 1325 | _comPipeConnection->flush(); |
| 1326 | } |
| 1327 | } |
| 1328 |