On 18 March, 2014 - Lubomir I. Ivanov wrote: > On 18 March 2014 16:40, Lubomir I. Ivanov <neolit...@gmail.com> wrote: > > On 18 March 2014 16:14, Anton Lundin <gla...@acc.umu.se> wrote: > >> I just played around with Qt5 a bit and noticed that the pp-graph lines > >> are way to thick and the ruler line too. > >> > > > > see attached patch. is that a fix for the ruler line? > > > > updated with the pp-graph lines. > (had to figure out what the heck is 'pp' in the first place...) > > my rough guess is that the base classes for all those lines (polygons) > in Qt5 uses different default QPen width values or there is some sort > of scaling (which is worse). > if this patch doesn't solve it, i have no idea; all looks good on Qt4. >
Yepp it solves it. Based on your first ruler patch i managed to produce the same patch as you did, except for the const there. This patch has a LGTM from me. //Anton -- Anton Lundin +46702-161604 _______________________________________________ subsurface mailing list subsurface@hohndel.org http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface