[PATCH 2/2] profilewidget2: fix line width when printing on OSX and Linux

Lubomir I. Ivanov neolit123 at gmail.com
Sun Oct 11 04:29:02 PDT 2015


On 11 October 2015 at 14:21, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
> From: "Lubomir I. Ivanov" <neolit123 at gmail.com>
>
> 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 at zoology.up.ac.za>
> Signed-off-by: Lubomir I. Ivanov <neolit123 at gmail.com>

pending Acked-by: / Tested-by!

lubomir
--


More information about the subsurface mailing list