| 2732 | } |
| 2733 | |
| 2734 | void |
| 2735 | AppManager::writeToErrorLog_mt_safe(const QString& context, |
| 2736 | const QDateTime& date, |
| 2737 | const QString & str, |
| 2738 | bool isHtml, |
| 2739 | const LogEntry::LogEntryColor& color) |
| 2740 | { |
| 2741 | QMutexLocker l(&_imp->errorLogMutex); |
| 2742 | LogEntry e; |
| 2743 | e.context = context; |
| 2744 | e.date = date; |
| 2745 | e.message = str; |
| 2746 | e.isHtml = isHtml; |
| 2747 | e.color = color; |
| 2748 | _imp->errorLog.push_back(e); |
| 2749 | } |
| 2750 | |
| 2751 | void |
| 2752 | AppManager::showErrorLog() |
no test coverage detected