<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 5, 2017, at 1:57 PM, Robert Helling <<a href="mailto:helling@atdotde.de" class="">helling@atdotde.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 05 Jan 2017, at 21:04, Tomaz Canabrava <<a href="mailto:tcanabrava@kde.org" class="">tcanabrava@kde.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Robert, the difference on the preferences for deco mode is what you described - one is for the planner and other is for the display. I tougth id fixed the issue you described to me in your house - and I think I did, but in the end I created another issue. The getter idea seems correct, sorry for the confusion.</div></div></blockquote><div class=""><br class=""></div><div class="">Before I start coding, I have a question (which shows how little C++ I understand): What exactly does </div><div class=""><br class=""></div><div class="">
<pre style="margin-top: 0px; margin-bottom: 0px;" class=""><!--StartFragment--><span style=" color:#c0c0c0;" class="">                </span><span style=" color:#800080;" class="">ProfileWidget2</span><span style=" color:#c0c0c0;" class=""> </span>*view<span style=" color:#c0c0c0;" class=""> </span>=<span style=" color:#c0c0c0;" class=""> </span>qobject_cast<<span style=" color:#800080;" class="">ProfileWidget2</span>*>(scene()->views().first());</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""><!--EndFragment--></pre><div class="">(this is line 266 of divetooltipitem.cpp)?</div><div class=""><br class=""></div><div class="">How much overhead does this have? I hope, it does not create and initialise a whole ProfileWidget2, because all we need to do is </div></div></div></div></div></div></blockquote><div><br class=""></div>That's literally just a pointer cast, applied to the first element in a scene. So the overhead shouldn't be dramatic.</div><div><br class=""></div><div>/D</div><br class=""></body></html>