<br><br><div class="gmail_quote">2008/12/1 Andi Clemens <span dir="ltr"><<a href="mailto:andi.clemens@gmx.net">andi.clemens@gmx.net</a>></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"><br>
On Monday 01 December 2008 11:05:28 Gilles Caulier wrote:<br>
> > Certainly... Perhaps this code is a side effect from KDE3 port. If we<br>
> > follow Qt4 doc here:<br>
> ><br>
> > <a href="http://doc.trolltech.com/4.4/qsplitter.html#restoreState" target="_blank">http://doc.trolltech.com/4.4/qsplitter.html#restoreState</a><br>
> ><br>
> > The code do not use base64 transformation... but we can read:<br>
> ><br>
> > "A failure to restore the splitter's layout may result from either<br>
> > invalid or out-of-date data in the supplied byte array."<br>
> ><br>
> > What is it?<br>
<br>
</div>Sounds like this broken behavior is normal and expected :-)<br>
I don't really understand that statement...???</blockquote><div><br>One important point : in sidebar class, we re-implement QSplitter::saveSate() and QSplitter::restoreSate().<br><br>In AlbumWidgetStack, we just call the methods as well....<br>
<br>Perhaps the problem is here...<br><br></div></div>The big question is why we use base64() here. <br><br>Gilles<br>