<div dir="ltr">sorry, I'have sent a wrong fix<div><br></div><div>I'll have a look at the codestyle file - thanks =D</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-17 21:24 GMT-03:00 Lubomir I. Ivanov <span dir="ltr"><<a href="mailto:neolit123@gmail.com" target="_blank">neolit123@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 18 March 2015 at 02:22, Marcos Cardinot <<a href="mailto:mcardinot@gmail.com">mcardinot@gmail.com</a>> wrote:<br>
> 2015-03-17 21:16 GMT-03:00 Lubomir I. Ivanov <<a href="mailto:neolit123@gmail.com">neolit123@gmail.com</a>>:<br>
><br>
>> On 18 March 2015 at 01:45, Marcos Cardinot <<a href="mailto:mcardinot@gmail.com">mcardinot@gmail.com</a>> wrote:<br>
>> ><br>
>> > Hello folks,<br>
>> ><br>
>> > The current code in RulerItem2::settingsChanged() is dereferencing the<br>
>> > null pointer 'profWidget'.<br>
>> > It can cause a segmentation fault.<br>
>> ><br>
>> ><br>
>><br>
>> hi, there is no need for the braces { } around the single lined "if"<br>
>> condition.<br>
>> could you remove them and resend?<br>
><br>
><br>
> Hi, of course.<br>
> Is there a kind of code style doc somewhere?<br>
><br>
<br>
</div></div>the source code is the coding style, mostly.<br>
but, yes there is a CodingStyle file in the root folder...also the<br>
"Linux kernel coding style" is a sane reference!<br>
<br>
in fact, i just sent a small related change to CodingStyle.<br>
<br>
lubomir<br>
--<br>
</blockquote></div><br></div>