소스 검색

Correctly pass the 'copy count' to QPrinter

Correctly pass the 'copy count' to QPrinter if QT hacks are not defined.
cptjazz 7 년 전
부모
커밋
ccf91a0c73
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/lib/pdfconverter.cc

+ 1 - 1
src/lib/pdfconverter.cc

@@ -395,7 +395,7 @@ void PdfConverterPrivate::pagesLoaded(bool ok) {
 
 #ifndef __EXTENSIVE_WKHTMLTOPDF_QT_HACK__
 	//If you do not have the hacks you get this crappy solution
-	printer->setCollateCopies(settings.copies);
+	printer->setCopyCount(settings.copies);
 	printer->setCollateCopies(settings.collate);
 
 	printDocument();