Commit 4cd564b3 authored by Alexander Semke's avatar Alexander Semke

Removethe temporary pdf file after the rendering to image was done.

parent 79186dd4
......@@ -177,6 +177,7 @@ void MathRenderTask::run()
bool success; QString errorMessage; QSizeF size;
const auto& data = renderPdfToFormat(pdfFileName, m_code, uuid, m_type, m_scale, m_highResolution, &success, &errorMessage);
QFile::remove(pdfFileName);
result->successful = success;
result->errorMessage = errorMessage;
if (success == false)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment