diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-10-11 14:21:14 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-11 10:32:11 -0700 |
commit | d0d83d5d7d2d148dfd572c4e5b325f04d93c6b69 (patch) | |
tree | 06b016cc6d36fe615cf2021566ed1959d6ce40c0 /qt-ui/subsurfacewebservices.cpp | |
parent | 11e38710e480fc735607dd1ae218a1c9dbc4135f (diff) | |
download | subsurface-d0d83d5d7d2d148dfd572c4e5b325f04d93c6b69.tar.gz |
profilewidget2: fix line width when printing on OSX and Linux
On OSX and Linux only, the cosmetic width of the QPen
on profile axes does not work and is weirdly dependent on the
fact if a printer is installed or not. Possible Qt bugs at hand.
The same is not present on Win32.
To solve the issues we add setPrintMode() in DiveCartesianAxis
and call it for all instances of the class in ProfileWidget2.
This patch also moves gridPen() as a private member function
of PartialGasPressureAxis as it now needs to access member
variables.
Fixes #943
Reported-by: Willem Ferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/subsurfacewebservices.cpp')
0 files changed, 0 insertions, 0 deletions