<br><br><div class="gmail_quote">2008/12/9 Luka Renko <span dir="ltr">&lt;<a href="mailto:lure@kubuntu.org">lure@kubuntu.org</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tuesday 09 December 2008 10:57:06 Andi Clemens wrote:<br>
&gt; In Qt4, you normally don&#39;t need a parent at all, it will be mapped anyway<br>
&gt; when adding to a layout. I usually don&#39;t provide parents to Layout and<br>
&gt; Widgets, because it is easier for me to read it that way.<br>
&gt;<br>
</div><div class="Ih2E3d">&gt; But since we use switch later on and in case of &quot;NoButtons&quot; don&#39;t add the<br>
&gt; buttons to a layout, I need to set a parent in ctor of the buttons,<br>
&gt; otherwise we have a memory leak.<br>
<br>
</div>Good catch!<br>
<div class="Ih2E3d"><br>
&gt; About the plainWidget: Right now the only plugin that uses it (and maybe<br>
&gt; the only one that ever will) is RemoveRedEyes. Since I use buttons on the<br>
&gt; right, I think it is ok to skip the plainWidget as you mentioned in<br>
&gt; &#39;NoButtons&#39; mode.<br>
<br>
</div>OK, I though so.<br>
<br>
Thanks for reviewing, testing and committing it!</blockquote><div><br>I&#39;m waiting your new plugin code for including it officially to next beta release. I will test if it compile fine under Windows.<br><br>Please commit your code on svn when it ready...<br>
<br>Question : it require a specific external depency ?<br><br>Best<br><br>Gilels</div></div><br>