[Digikam-devel] IPTC

Gilles Caulier caulier.gilles at gmail.com
Mon Dec 1 10:20:31 GMT 2008


2008/12/1 Andi Clemens <andi.clemens at gmx.net>

>
> On Monday 01 December 2008 11:05:28 Gilles Caulier wrote:
> > > Certainly... Perhaps this code is a side effect from KDE3 port. If we
> > > follow Qt4 doc here:
> > >
> > > http://doc.trolltech.com/4.4/qsplitter.html#restoreState
> > >
> > > The code do not use base64 transformation... but we can read:
> > >
> > > "A failure to restore the splitter's layout may result from either
> > > invalid or out-of-date data in the supplied byte array."
> > >
> > > What is it?
>
> Sounds like this broken behavior is normal and expected :-)
> I don't really understand that statement...???


One important point : in sidebar class, we re-implement
QSplitter::saveSate() and QSplitter::restoreSate().

In AlbumWidgetStack, we just call the methods as well....

Perhaps the problem is here...

The big question is why we use base64() here.

Gilles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20081201/27c44431/attachment.html>


More information about the Digikam-devel mailing list