Fix problems with missing safety checks in Render::fillBuffer and pdfcomic

This commit is contained in:
Felix Kauselmann
2017-09-27 22:00:00 +02:00
commit 958003f52f
1042 changed files with 102627 additions and 0 deletions

View File

@ -0,0 +1,20 @@
/**
@file
@author Stefan Frings
*/
#include "dualfilelogger.h"
DualFileLogger::DualFileLogger(QSettings* firstSettings, QSettings* secondSettings, const int refreshInterval, QObject* parent)
:Logger(parent)
{
firstLogger=new FileLogger(firstSettings, refreshInterval, this);
secondLogger=new FileLogger(secondSettings, refreshInterval, this);
}
void DualFileLogger::log(const QtMsgType type, const QString& message) {
firstLogger->log(type, message);
secondLogger->log(type, message);
}