We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc674e4 commit 617582eCopy full SHA for 617582e
qwt/tests/test_bodedemo.py
@@ -245,10 +245,10 @@ def __init__(self, *args):
245
def print_(self, unattended=False):
246
try:
247
mode = QPrinter.HighResolution
248
+ printer = QPrinter(mode)
249
except AttributeError:
250
# Some PySide6 / PyQt6 versions do not have this attribute on Linux
- mode = QPrinter.ScreenResolution
251
- printer = QPrinter(mode)
+ printer = QPrinter()
252
253
printer.setCreator("Bode example")
254
printer.setPageOrientation(QPageLayout.Landscape)
0 commit comments