Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
@@ -61,8 +61,7 @@ Base::Base(QTextDocument &doc,
|
||||
const QString &_fn,
|
||||
QPrinter::PaperSize _ps,
|
||||
QPrinter::Orientation _or,
|
||||
QPrinter::ColorMode _cm)
|
||||
: m_printer(new QPrinter),
|
||||
QPrinter::ColorMode _cm) : m_printer(new QPrinter),
|
||||
m_painter(new QPainter),
|
||||
m_iconFilenameNr(0),
|
||||
m_tempdoc(nullptr),
|
||||
@@ -72,8 +71,8 @@ Base::Base(QTextDocument &doc,
|
||||
footersize_(10), footerrule_(0.5), footertext_(FooterText),
|
||||
itemFontSize_(2),
|
||||
m_settings(new NGL::Settings(NGL::findProjectConfigFile())).getNGLLogger("NGLPrinting")),
|
||||
m_currentPage(1)
|
||||
{
|
||||
m_currentPage(1),
|
||||
m_logger(NGL::NGLLoggerBootstrap::getLogger()) {
|
||||
QString fn = _fn;
|
||||
fn = fn.remove(QLatin1Char(' '));
|
||||
fn = fn.remove(QLatin1String(".."));
|
||||
@@ -158,7 +157,7 @@ void Base::setPrintToFile(bool printToFile)
|
||||
|
||||
QPrinter *Base::printer()
|
||||
{
|
||||
DEBUG_LOG() << "Base::printer" ;
|
||||
DEBUG_LOG(m_logger) << "Base::printer" ;
|
||||
|
||||
return m_printer;
|
||||
}
|
||||
@@ -391,7 +390,7 @@ bool Base::printTableData(QString &str,
|
||||
}
|
||||
str += QLatin1String("</tbody></table>");
|
||||
|
||||
DEBUG_LOG() << qPrintable(str) ;
|
||||
DEBUG_LOG(m_logger) << qPrintable(str) ;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user