Fix regression in 0.7.36 that broke PDF Output when specifying a cover

This commit is contained in:
Kovid Goyal 2011-01-02 09:42:45 -07:00
parent d653aa9de2
commit 02d68b83a1

View File

@ -175,7 +175,7 @@ class PDFWriter(QObject): # {{{
if self.cover_data is None: if self.cover_data is None:
return return
item_path = os.path.join(self.tmp_path, 'cover.pdf') item_path = os.path.join(self.tmp_path, 'cover.pdf')
printer = self.get_printer() printer = get_pdf_printer(self.opts)
printer.setOutputFileName(item_path) printer.setOutputFileName(item_path)
self.combine_queue.insert(0, item_path) self.combine_queue.insert(0, item_path)
p = QPixmap() p = QPixmap()