| 1369 | } |
| 1370 | |
| 1371 | bool |
| 1372 | AppManager::writeToOutputPipe(const QString & longMessage, |
| 1373 | const QString & shortMessage, |
| 1374 | bool printIfNoChannel) |
| 1375 | { |
| 1376 | if (!_imp->_backgroundIPC) { |
| 1377 | if (printIfNoChannel) { |
| 1378 | QMutexLocker k(&_imp->errorLogMutex); |
| 1379 | ///Don't use qdebug here which is disabled if QT_NO_DEBUG_OUTPUT is defined. |
| 1380 | std::cout << longMessage.toStdString() << std::endl; |
| 1381 | } |
| 1382 | |
| 1383 | return false; |
| 1384 | } |
| 1385 | _imp->_backgroundIPC->writeToOutputChannel(shortMessage); |
| 1386 | |
| 1387 | return true; |
| 1388 | } |
| 1389 | |
| 1390 | void |
| 1391 | AppManager::setApplicationsCachesMaximumMemoryPercent(double p) |
no test coverage detected