QtWebEngine: Fix error message with :print --pdf

This commit is contained in:
Florian Bruhin 2016-08-11 19:13:45 +02:00
parent fb07655e56
commit af5d166ae1

View File

@ -43,7 +43,7 @@ class WebEnginePrinting(browsertab.AbstractPrinting):
def check_pdf_support(self):
if not hasattr(self._widget.page(), 'printToPdf'):
raise browsertab.WebTabError(
"Printing to PDF is unsupported with QtWebEngine on Qt > 5.7")
"Printing to PDF is unsupported with QtWebEngine on Qt < 5.7")
def check_printer_support(self):
raise browsertab.WebTabError(