[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    [PATCH] Toolbar borkage fix
From:       Rafael =?utf-8?q?Fern=C3=A1ndez_L=C3=B3pez?= <ereslibre () kde ! org>
Date:       2008-08-17 19:57:38
Message-ID: 200808172157.44180.ereslibre () kde ! org
[Download RAW message or body]


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.


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic