diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-11-12 19:27:11 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-11-12 11:20:54 -0800 |
commit | 0272f118aeff4b9e7e5c08edcc664e9a9ab26368 (patch) | |
tree | 3713a5372b9d496cc3ced0b9725cf3de7abdab62 /desktop-widgets/usersurvey.h | |
parent | 6d93a14d18923480390e6cd04b3a1542f75480ea (diff) | |
download | subsurface-0272f118aeff4b9e7e5c08edcc664e9a9ab26368.tar.gz |
printing: properly initialize DPI value
The DPI value in the print_options structure was never initialized.
This could lead to random DPI values and crashes. How this ever
worked is a mystery.
Therefore, read and write the DPI value from the settings just
as the other print-options. And initialize the corresponding dialog
widget to this value.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/usersurvey.h')
0 files changed, 0 insertions, 0 deletions