| 1455 | } |
| 1456 | |
| 1457 | bool |
| 1458 | AppManager::writeToOutputPipe(const QString & longMessage, |
| 1459 | const QString & shortMessage, |
| 1460 | bool printIfNoChannel) |
| 1461 | { |
| 1462 | if (!_imp->_backgroundIPC) { |
| 1463 | if (printIfNoChannel) { |
| 1464 | QMutexLocker k(&_imp->errorLogMutex); |
| 1465 | ///Don't use qdebug here which is disabled if QT_NO_DEBUG_OUTPUT is defined. |
| 1466 | std::cout << longMessage.toStdString() << std::endl; |
| 1467 | } |
| 1468 | |
| 1469 | return false; |
| 1470 | } |
| 1471 | _imp->_backgroundIPC->writeToOutputChannel(shortMessage); |
| 1472 | |
| 1473 | return true; |
| 1474 | } |
| 1475 | |
| 1476 | void |
| 1477 | AppManager::setApplicationsCachesMaximumMemoryPercent(double p) |
no test coverage detected