Some bugfixing

This commit is contained in:
Jakub Melka
2020-02-09 18:44:11 +01:00
parent fad2e22dcb
commit d10f988019
3 changed files with 8 additions and 1 deletions

View File

@@ -48,6 +48,8 @@ PDFRenderToImagesDialog::PDFRenderToImagesDialog(const pdf::PDFDocument* documen
{
ui->setupUi(this);
qRegisterMetaType<pdf::PDFRenderError>("PDFRenderError");
// Load image formats
for (const QByteArray& format : m_imageWriterSettings.getFormats())
{

View File

@@ -96,4 +96,6 @@ private:
} // namespace pdfviewer
Q_DECLARE_METATYPE(pdf::PDFRenderError)
#endif // PDFRENDERTOIMAGESDIALOG_H