[PATCH] Toolbar borkage fix

Rafael Fernández López ereslibre at kde.org
Sun Aug 17 20:57:38 BST 2008


Hi all,

Toolbars are broken on KDE. The patch:
http://media.ereslibre.es/2008/08/kdelibs-toolbars.diff

fixes them. In Kontact I also have another patch to complement it:
http://media.ereslibre.es/2008/08/kdepim-toolbars.diff

In theory what was happening (from my understanding) is that it depends on the 
active component (or the current component) how the toolbars should be saved.

As we have usually more than one mainToolbar (depending on the component that 
is active), at the moment of saving (and switching toolbars) Qt was going 
crazy with the saveState() and restoreState() mechanism.

Now, depending on the component that is active, the toolbar state of each 
component is retrieved and loaded/saved.

Are this patches OK to be committed ?


Regards,
Rafael Fernández López.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080817/87976446/attachment.sig>


More information about the kde-core-devel mailing list