| 2670 | } |
| 2671 | |
| 2672 | void |
| 2673 | AppManager::writeToErrorLog_mt_safe(const QString& context, |
| 2674 | const QDateTime& date, |
| 2675 | const QString & str, |
| 2676 | bool isHtml, |
| 2677 | const LogEntry::LogEntryColor& color) |
| 2678 | { |
| 2679 | QMutexLocker l(&_imp->errorLogMutex); |
| 2680 | LogEntry e; |
| 2681 | e.context = context; |
| 2682 | e.date = date; |
| 2683 | e.message = str; |
| 2684 | e.isHtml = isHtml; |
| 2685 | e.color = color; |
| 2686 | _imp->errorLog.push_back(e); |
| 2687 | } |
| 2688 | |
| 2689 | void |
| 2690 | AppManager::showErrorLog() |
no test coverage detected