mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
PDF Output: Change call to get_printer to correct get_pdf_printer.
This commit is contained in:
parent
47aeaf10b6
commit
089d367942
@ -175,7 +175,7 @@ class PDFWriter(QObject): # {{{
|
||||
if self.cover_data is None:
|
||||
return
|
||||
item_path = os.path.join(self.tmp_path, 'cover.pdf')
|
||||
printer = self.get_printer()
|
||||
printer = self.get_pdf_printer()
|
||||
printer.setOutputFileName(item_path)
|
||||
self.combine_queue.insert(0, item_path)
|
||||
p = QPixmap()
|
||||
|
Loading…
x
Reference in New Issue
Block a user